<!DOCTYPE html>
<html lang="zh-CN" data-theme="light">

<head>
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width,initial-scale=1" />
  <meta name="generator" content="VuePress 2.0.0-beta.61" />
  <meta name="generator" content="DBHGAI" />
  <meta name="theme" content="VuePress Theme Hope" />
  <meta property="og:url" content="https://docs.dbhg.top/MC1.12.2/command/advanced.html">
  <meta property="og:site_name" content="蛋白后宫文档库">
  <meta property="og:title" content="进阶">
  <meta property="og:description" content="进阶 - 1.12.2指令集 | 蛋白后宫文档库">
  <meta property="og:type" content="article">
  <meta property="og:locale" content="zh-CN">
  <meta property="article:author" content="蛋白后宫">
  <script
    type="application/ld+json">{"@context":"https://schema.org","@type":"Article","headline":"进阶","image":[""],"dateModified":null,"author":[{"@type":"Person","name":"蛋白后宫","url":"https://dbhg.top"}]}</script>
  <link rel="icon" href="https://img.cdn.tencent-qq.cn/Yize/2023/05/6d19ed0008bb7ad9.png">
  <title>进阶 | 蛋白后宫文档库</title>
  <meta name="description" content="进阶 - 1.12.2指令集 | 蛋白后宫文档库">
  <meta name="keywords" content="蛋白后宫文档库, 蛋白后宫, 蛋白造图端, 1.12.2蛋白造图端, 使用文档, 文档, 主播蛋白, 蛋白佳丽后宫, 我的世界专区, 我的世界启动器, 1.12.2指令集, 进阶">
  <style>
    :root {
      --bg-color: #fff;
    }

    html[data-theme="dark"] {
      --bg-color: #1d1e1f;
    }

    html,
    body {
      background: var(--bg-color);
    }
  </style>
  <script>
    const userMode = localStorage.getItem("vuepress-theme-hope-scheme");
    const systemDarkMode =
      window.matchMedia &&
      window.matchMedia("(prefers-color-scheme: dark)").matches;

    if (userMode === "dark" || (userMode !== "light" && systemDarkMode)) {
      document.documentElement.setAttribute("data-theme", "dark");
    }
  </script>
  <link rel="preload" href="/assets/style-ed241763.css" as="style">
  <link rel="stylesheet" href="/assets/style-ed241763.css">
  <link rel="modulepreload" href="/assets/app-45d29361.js">
  <link rel="modulepreload" href="/assets/framework-b1f2c84c.js">
  <link rel="modulepreload" href="/assets/advanced.html-b837c5c9.js">
  <link rel="modulepreload" href="/assets/advanced.html-9785f617.js">
  <link rel="prefetch" href="/assets/download.html-155c4c19.js" as="script">
  <link rel="prefetch" href="/assets/index.html-2b64a687.js" as="script">
  <link rel="prefetch" href="/assets/tools.html-8607e852.js" as="script">
  <link rel="prefetch" href="/assets/index.html-f97ae0ba.js" as="script">
  <link rel="prefetch" href="/assets/index.html-70c819b2.js" as="script">
  <link rel="prefetch" href="/assets/index.html-2de63214.js" as="script">
  <link rel="prefetch" href="/assets/index.html-0344dbe0.js" as="script">
  <link rel="prefetch" href="/assets/faq.html-21caff6b.js" as="script">
  <link rel="prefetch" href="/assets/index.html-bf2501b1.js" as="script">
  <link rel="prefetch" href="/assets/quickstart.html-9ba2b1a7.js" as="script">
  <link rel="prefetch" href="/assets/basic.html-58124957.js" as="script">
  <link rel="prefetch" href="/assets/index.html-23d0b810.js" as="script">
  <link rel="prefetch" href="/assets/download.html-350438b7.js" as="script">
  <link rel="prefetch" href="/assets/index.html-234ced92.js" as="script">
  <link rel="prefetch" href="/assets/install.html-4eb83fc1.js" as="script">
  <link rel="prefetch" href="/assets/video.html-378666db.js" as="script">
  <link rel="prefetch" href="/assets/index.html-44b809d3.js" as="script">
  <link rel="prefetch" href="/assets/index.html-d7238b06.js" as="script">
  <link rel="prefetch" href="/assets/sound.html-48fbf0f5.js" as="script">
  <link rel="prefetch" href="/assets/textures.html-ed6e9cd2.js" as="script">
  <link rel="prefetch" href="/assets/index.html-3fc6b429.js" as="script">
  <link rel="prefetch" href="/assets/faq.html-0e34ac9c.js" as="script">
  <link rel="prefetch" href="/assets/index.html-a2a9e5fe.js" as="script">
  <link rel="prefetch" href="/assets/quickstart.html-51ebdced.js" as="script">
  <link rel="prefetch" href="/assets/use.html-b9481405.js" as="script">
  <link rel="prefetch" href="/assets/faq.html-5253ff82.js" as="script">
  <link rel="prefetch" href="/assets/index.html-e60fa580.js" as="script">
  <link rel="prefetch" href="/assets/quickstart.html-397b56de.js" as="script">
  <link rel="prefetch" href="/assets/use.html-7b1e679b.js" as="script">
  <link rel="prefetch" href="/assets/404.html-440b565b.js" as="script">
  <link rel="prefetch" href="/assets/download.html-ab274bf8.js" as="script">
  <link rel="prefetch" href="/assets/index.html-0f44345e.js" as="script">
  <link rel="prefetch" href="/assets/tools.html-6fc76537.js" as="script">
  <link rel="prefetch" href="/assets/index.html-4f9c0030.js" as="script">
  <link rel="prefetch" href="/assets/index.html-d95e9b68.js" as="script">
  <link rel="prefetch" href="/assets/index.html-6b60d3c5.js" as="script">
  <link rel="prefetch" href="/assets/index.html-c79d66cb.js" as="script">
  <link rel="prefetch" href="/assets/faq.html-68c9f946.js" as="script">
  <link rel="prefetch" href="/assets/index.html-ee437e13.js" as="script">
  <link rel="prefetch" href="/assets/quickstart.html-4e490b76.js" as="script">
  <link rel="prefetch" href="/assets/basic.html-19fa4472.js" as="script">
  <link rel="prefetch" href="/assets/index.html-5b44a3a4.js" as="script">
  <link rel="prefetch" href="/assets/download.html-1a409031.js" as="script">
  <link rel="prefetch" href="/assets/index.html-7e0936c2.js" as="script">
  <link rel="prefetch" href="/assets/install.html-f012919f.js" as="script">
  <link rel="prefetch" href="/assets/video.html-1d034419.js" as="script">
  <link rel="prefetch" href="/assets/index.html-5aa3125d.js" as="script">
  <link rel="prefetch" href="/assets/index.html-1ca98a8d.js" as="script">
  <link rel="prefetch" href="/assets/sound.html-f53ba229.js" as="script">
  <link rel="prefetch" href="/assets/textures.html-fd592a54.js" as="script">
  <link rel="prefetch" href="/assets/index.html-5df4020c.js" as="script">
  <link rel="prefetch" href="/assets/faq.html-b05da2e1.js" as="script">
  <link rel="prefetch" href="/assets/index.html-727a090c.js" as="script">
  <link rel="prefetch" href="/assets/quickstart.html-5d6e45ad.js" as="script">
  <link rel="prefetch" href="/assets/use.html-1d22abba.js" as="script">
  <link rel="prefetch" href="/assets/faq.html-115800c3.js" as="script">
  <link rel="prefetch" href="/assets/index.html-a6f747ec.js" as="script">
  <link rel="prefetch" href="/assets/quickstart.html-92a5ddf4.js" as="script">
  <link rel="prefetch" href="/assets/use.html-8b58d160.js" as="script">
  <link rel="prefetch" href="/assets/404.html-f56d3e52.js" as="script">
  <link rel="prefetch" href="/assets/auto-fa8841cf.js" as="script">
  <link rel="prefetch" href="/assets/index-b03bef79.js" as="script">
  <link rel="prefetch" href="/assets/flowchart-35969cab.js" as="script">
  <link rel="prefetch" href="/assets/mermaid.core-744b56f6.js" as="script">
  <link rel="prefetch" href="/assets/highlight.esm-75b11b9d.js" as="script">
  <link rel="prefetch" href="/assets/markdown.esm-0191f9da.js" as="script">
  <link rel="prefetch" href="/assets/math.esm-70a288c8.js" as="script">
  <link rel="prefetch" href="/assets/notes.esm-a106bb2c.js" as="script">
  <link rel="prefetch" href="/assets/reveal.esm-ab04f0b1.js" as="script">
  <link rel="prefetch" href="/assets/search.esm-7e6792e2.js" as="script">
  <link rel="prefetch" href="/assets/zoom.esm-b83b91d0.js" as="script">
  <link rel="prefetch" href="/assets/VuePlayground-dfe1b1ac.js" as="script">
  <link rel="prefetch" href="/assets/photoswipe.esm-36cd6c3c.js" as="script">
</head>

<body>
  <div id="app"><!--[--><!--[--><!--[--><span tabindex="-1"></span><a href="#main-content"
      class="skip-link sr-only">跳至主要內容</a><!--]-->
    <div class="theme-container has-toc"><!--[-->
      <header class="navbar" id="navbar">
        <div class="navbar-start"><button type="button" class="toggle-sidebar-button" title="Toggle Sidebar"><span
              class="icon"></span></button><!--[--><!----><!--]--><!--[--><a href="/" class="brand"><img class="logo"
              src="https://img.cdn.tencent-qq.cn/Yize/2023/05/6d19ed0008bb7ad9.png" alt="蛋白后宫文档库"><!----><span
              class="site-name hide-in-pad">蛋白后宫文档库</span></a><!--]--><!--[--><!----><!--]--></div>
        <div class="navbar-center"><!--[--><!----><!--]--><!--[-->
          <nav class="nav-links">
            <div class="nav-item hide-in-mobile"><a href="/" class="nav-link" aria-label="主页"><iconify-icon
                  class="font-icon icon" style="" mode="style" inline icon="mdi:home" width="1em"
                  height="1em"></iconify-icon>主页<!----></a></div>
            <div class="nav-item hide-in-mobile">
              <div class="dropdown-wrapper"><button type="button" class="dropdown-title" aria-label="我的世界"><span
                    class="title"><iconify-icon class="font-icon icon" style="" mode="style" inline icon="mdi:minecraft"
                      width="1em" height="1em"></iconify-icon>我的世界</span><span class="arrow"></span>
                  <ul class="nav-dropdown">
                    <li class="dropdown-item"><a href="/MC1.12.2/client/" class="nav-link"
                        aria-label="1.12.2蛋白造图客户端"><iconify-icon class="font-icon icon" style="" mode="style" inline
                          icon="mdi:minecraft" width="1em" height="1em"></iconify-icon>1.12.2蛋白造图客户端<!----></a></li>
                    <li class="dropdown-item"><a href="/MC1.12.2/command/" class="nav-link"
                        aria-label="1.12.2指令集"><iconify-icon class="font-icon icon" style="" mode="style" inline
                          icon="clarity:command-line" width="1em" height="1em"></iconify-icon>1.12.2指令集<!----></a></li>
                    <li class="dropdown-item"><a href="/MC1.12.2/pack/" class="nav-link"
                        aria-label="1.12.2资源包"><iconify-icon class="font-icon icon" style="" mode="style" inline
                          icon="tabler:packge-import" width="1em" height="1em"></iconify-icon>1.12.2资源包<!----></a></li>
                    <li class="dropdown-item">
                      <h4 class="dropdown-subtitle"><a href="/MC1.12.2/launcher/" class="nav-link"
                          aria-label="我的世界启动器"><iconify-icon class="font-icon icon" style="" mode="style" inline
                            icon="arcticons:game-launcher" width="1em" height="1em"></iconify-icon>我的世界启动器<!----></a>
                      </h4>
                      <ul class="dropdown-subitem-wrapper">
                        <li class="dropdown-subitem"><a href="/MC1.12.2/launcher/hmcl/" class="nav-link"
                            aria-label="HMCL启动器"><!---->HMCL启动器<!----></a></li>
                        <li class="dropdown-subitem"><a href="/MC1.12.2/launcher/pcl2/" class="nav-link"
                            aria-label="PCL2启动器"><!---->PCL2启动器<!----></a></li>
                      </ul>
                    </li>
                  </ul>
                </button></div>
            </div>
            <div class="nav-item hide-in-mobile"><a href="/download.html" class="nav-link" aria-label="下载"><iconify-icon
                  class="font-icon icon" style="" mode="style" inline icon="material-symbols:download" width="1em"
                  height="1em"></iconify-icon>下载<!----></a></div>
            <div class="nav-item hide-in-mobile"><a href="/tools.html" class="nav-link" aria-label="工具"><iconify-icon
                  class="font-icon icon" style="" mode="style" inline icon="mdi:tools" width="1em"
                  height="1em"></iconify-icon>工具<!----></a></div>
            <div class="nav-item hide-in-mobile"><a href="https://douyu.com/762505" rel="noopener noreferrer"
                target="_blank" aria-label="蛋白直播间" class="nav-link"><iconify-icon class="font-icon icon" style=""
                  mode="style" inline icon="material-symbols:link" width="1em"
                  height="1em"></iconify-icon>蛋白直播间<span><svg class="external-link-icon"
                    xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px"
                    viewBox="0 0 100 100" width="15" height="15">
                    <path fill="currentColor"
                      d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z">
                    </path>
                    <polygon fill="currentColor"
                      points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9">
                    </polygon>
                  </svg><span class="external-link-icon-sr-only">open in new window</span></span><!----></a></div>
          </nav><!--]--><!--[--><!----><!--]-->
        </div>
        <div class="navbar-end"><!--[--><!----><!--]--><!--[--><!----><!---->
          <div class="nav-item hide-in-mobile"><button type="button" id="appearance-switch"><svg
                xmlns="http://www.w3.org/2000/svg" class="icon auto-icon" viewBox="0 0 1024 1024" fill="currentColor"
                aria-label="auto icon" style="display:block;">
                <path
                  d="M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm0-840c-198.78 0-360 161.22-360 360 0 198.84 161.22 360 360 360s360-161.16 360-360c0-198.78-161.22-360-360-360zm0 660V212c165.72 0 300 134.34 300 300 0 165.72-134.28 300-300 300z">
                </path>
              </svg><svg xmlns="http://www.w3.org/2000/svg" class="icon dark-icon" viewBox="0 0 1024 1024"
                fill="currentColor" aria-label="dark icon" style="display:none;">
                <path
                  d="M524.8 938.667h-4.267a439.893 439.893 0 0 1-313.173-134.4 446.293 446.293 0 0 1-11.093-597.334A432.213 432.213 0 0 1 366.933 90.027a42.667 42.667 0 0 1 45.227 9.386 42.667 42.667 0 0 1 10.24 42.667 358.4 358.4 0 0 0 82.773 375.893 361.387 361.387 0 0 0 376.747 82.774 42.667 42.667 0 0 1 54.187 55.04 433.493 433.493 0 0 1-99.84 154.88 438.613 438.613 0 0 1-311.467 128z">
                </path>
              </svg><svg xmlns="http://www.w3.org/2000/svg" class="icon light-icon" viewBox="0 0 1024 1024"
                fill="currentColor" aria-label="light icon" style="display:none;">
                <path
                  d="M952 552h-80a40 40 0 0 1 0-80h80a40 40 0 0 1 0 80zM801.88 280.08a41 41 0 0 1-57.96-57.96l57.96-58a41.04 41.04 0 0 1 58 58l-58 57.96zM512 752a240 240 0 1 1 0-480 240 240 0 0 1 0 480zm0-560a40 40 0 0 1-40-40V72a40 40 0 0 1 80 0v80a40 40 0 0 1-40 40zm-289.88 88.08-58-57.96a41.04 41.04 0 0 1 58-58l57.96 58a41 41 0 0 1-57.96 57.96zM192 512a40 40 0 0 1-40 40H72a40 40 0 0 1 0-80h80a40 40 0 0 1 40 40zm30.12 231.92a41 41 0 0 1 57.96 57.96l-57.96 58a41.04 41.04 0 0 1-58-58l58-57.96zM512 832a40 40 0 0 1 40 40v80a40 40 0 0 1-80 0v-80a40 40 0 0 1 40-40zm289.88-88.08 58 57.96a41.04 41.04 0 0 1-58 58l-57.96-58a41 41 0 0 1 57.96-57.96z">
                </path>
              </svg></button></div><!----><!--]--><!--[--><!----><!--]--><button type="button"
            class="toggle-navbar-button" aria-label="Toggle Navbar" aria-expanded="false"
            aria-controls="nav-screen"><span class="button-container"><span class="button-top"></span><span
                class="button-middle"></span><span class="button-bottom"></span></span></button>
        </div>
      </header><!----><!--]--><!---->
      <div class="toggle-sidebar-wrapper"><span class="arrow start"></span></div>
      <aside class="sidebar" id="sidebar"><!--[--><!----><!--]-->
        <ul class="sidebar-links">
          <li><!--[--><a aria-current="page" href="/MC1.12.2/command/advanced.html#nbt"
              class="router-link-active router-link-exact-active nav-link sidebar-link sidebar-heading"
              aria-label="NBT"><!---->NBT<!----></a>
            <ul class="sidebar-sub-headers">
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#介绍"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="介绍"><!---->介绍<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#语法格式"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="语法格式"><!---->语法格式<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#实体nbt"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="实体NBT"><!---->实体NBT<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#语法"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="语法"><!---->语法<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#名词解释"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="名词解释"><!---->名词解释<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#多重举例"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="多重举例"><!---->多重举例<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#引用"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="引用"><!---->引用<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#方块nbt"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="方块NBT"><!---->方块NBT<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#名词解释-1"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="名词解释"><!---->名词解释<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#命令举例"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="命令举例"><!---->命令举例<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#数据类型"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="数据类型"><!---->数据类型<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#引用-1"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="引用"><!---->引用<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#物品nbt"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="物品NBT"><!---->物品NBT<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#背包-物品栏id"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="背包/物品栏ID"><!---->背包/物品栏ID<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#名词解释-2"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="名词解释"><!---->名词解释<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#命令举例-1"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="命令举例"><!---->命令举例<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#小知识"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="小知识"><!---->小知识<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#引用-2"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="引用"><!---->引用<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
            </ul><!--]-->
          </li>
          <li><!--[--><a aria-current="page" href="/MC1.12.2/command/advanced.html#json"
              class="router-link-active router-link-exact-active nav-link sidebar-link sidebar-heading"
              aria-label="Json"><!---->Json<!----></a>
            <ul class="sidebar-sub-headers">
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#介绍-1"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="介绍"><!---->介绍<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#json格式"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="Json格式"><!---->Json格式<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#json文本"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="Json文本"><!---->Json文本<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#json用法"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="Json用法"><!---->Json用法<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#引用-4"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="引用"><!---->引用<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
            </ul><!--]-->
          </li>
          <li><!--[--><a aria-current="page" href="/MC1.12.2/command/advanced.html#函数"
              class="router-link-active router-link-exact-active nav-link sidebar-link sidebar-heading"
              aria-label="函数"><!---->函数<!----></a>
            <ul class="sidebar-sub-headers">
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#名词解释-3"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="名词解释"><!---->名词解释<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#如何使用"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="如何使用"><!---->如何使用<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#语法格式-1"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="语法格式"><!---->语法格式<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#举例"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="举例"><!---->举例<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#使用方法"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="使用方法"><!---->使用方法<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#小知识-1"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="小知识"><!---->小知识<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#title"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="/title"><!---->/title<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#命令解释"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="命令解释"><!---->命令解释<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#语法-1"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="语法"><!---->语法<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#名词解释-4"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="名词解释"><!---->名词解释<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#命令举例-2"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="命令举例"><!---->命令举例<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#小知识-2"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="小知识"><!---->小知识<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
            </ul><!--]-->
          </li>
          <li><!--[--><a aria-current="page" href="/MC1.12.2/command/advanced.html#tellraw"
              class="router-link-active router-link-exact-active nav-link sidebar-link sidebar-heading"
              aria-label="/tellraw"><!---->/tellraw<!----></a>
            <ul class="sidebar-sub-headers">
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#命令解释-1"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="命令解释"><!---->命令解释<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#语法-2"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="语法"><!---->语法<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#名词解释-5"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="名词解释"><!---->名词解释<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#命令举例-3"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="命令举例"><!---->命令举例<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
            </ul><!--]-->
          </li>
          <li><!--[--><a aria-current="page" href="/MC1.12.2/command/advanced.html#testfor"
              class="router-link-active router-link-exact-active nav-link sidebar-link sidebar-heading"
              aria-label="/testfor"><!---->/testfor<!----></a>
            <ul class="sidebar-sub-headers">
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#命令解释-2"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="命令解释"><!---->命令解释<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#格式"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="格式"><!---->格式<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#命令举例-4"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="命令举例"><!---->命令举例<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#小知识-3"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="小知识"><!---->小知识<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
            </ul><!--]-->
          </li>
          <li><!--[--><a aria-current="page" href="/MC1.12.2/command/advanced.html#execute"
              class="router-link-active router-link-exact-active nav-link sidebar-link sidebar-heading"
              aria-label="/execute"><!---->/execute<!----></a>
            <ul class="sidebar-sub-headers">
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#命令解释-3"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="命令解释"><!---->命令解释<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#语法-3"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="语法"><!---->语法<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#名词解释-6"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="名词解释"><!---->名词解释<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#大大讲解"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="大大讲解"><!---->大大讲解<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#小知识-4"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="小知识"><!---->小知识<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
            </ul><!--]-->
          </li>
          <li><!--[--><a aria-current="page" href="/MC1.12.2/command/advanced.html#function"
              class="router-link-active router-link-exact-active nav-link sidebar-link sidebar-heading"
              aria-label="/function"><!---->/function<!----></a>
            <ul class="sidebar-sub-headers">
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#命令解释-4"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="命令解释"><!---->命令解释<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#语法-4"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="语法"><!---->语法<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#名词解释-7"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="名词解释"><!---->名词解释<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#举例-1"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="举例"><!---->举例<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
            </ul><!--]-->
          </li>
          <li><!--[--><a aria-current="page" href="/MC1.12.2/command/advanced.html#reload"
              class="router-link-active router-link-exact-active nav-link sidebar-link sidebar-heading"
              aria-label="/reload"><!---->/reload<!----></a>
            <ul class="sidebar-sub-headers">
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#命令解释-5"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="命令解释"><!---->命令解释<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#语法-5"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="语法"><!---->语法<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#举例-2"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="举例"><!---->举例<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#小知识-5"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="小知识"><!---->小知识<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
            </ul><!--]-->
          </li>
          <li><!--[--><a aria-current="page" href="/MC1.12.2/command/advanced.html#particle"
              class="router-link-active router-link-exact-active nav-link sidebar-link sidebar-heading"
              aria-label="/particle"><!---->/particle<!----></a>
            <ul class="sidebar-sub-headers">
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#命令解释-6"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="命令解释"><!---->命令解释<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#语法-6"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="语法"><!---->语法<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#名词解释-8"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="名词解释"><!---->名词解释<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#命令举例-5"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="命令举例"><!---->命令举例<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#引用-5"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="引用"><!---->引用<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
            </ul><!--]-->
          </li>
          <li><!--[--><a aria-current="page" href="/MC1.12.2/command/advanced.html#replaceitem"
              class="router-link-active router-link-exact-active nav-link sidebar-link sidebar-heading"
              aria-label="/replaceitem"><!---->/replaceitem<!----></a>
            <ul class="sidebar-sub-headers">
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#命令解释-7"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="命令解释"><!---->命令解释<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#格式-1"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="格式"><!---->格式<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#名词解释-9"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="名词解释"><!---->名词解释<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#命令举例-6"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="命令举例"><!---->命令举例<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
            </ul><!--]-->
          </li>
          <li><!--[--><a aria-current="page" href="/MC1.12.2/command/advanced.html#scoreboard"
              class="router-link-active router-link-exact-active nav-link sidebar-link sidebar-heading"
              aria-label="/scoreboard"><!---->/scoreboard<!----></a>
            <ul class="sidebar-sub-headers">
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#前言"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="前言"><!---->前言<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#计分板"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="计分板"><!---->计分板<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#队伍"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="队伍"><!---->队伍<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#标签"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="标签"><!---->标签<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#小知识-6"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="小知识"><!---->小知识<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
            </ul><!--]-->
          </li>
          <li><!--[--><a aria-current="page" href="/MC1.12.2/command/advanced.html#blockdata"
              class="router-link-active router-link-exact-active nav-link sidebar-link sidebar-heading"
              aria-label="/blockdata"><!---->/blockdata<!----></a>
            <ul class="sidebar-sub-headers">
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#命令解释-8"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="命令解释"><!---->命令解释<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#语法-11"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="语法"><!---->语法<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#名词解释-14"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="名词解释"><!---->名词解释<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#命令举例-11"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="命令举例"><!---->命令举例<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#小知识-7"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="小知识"><!---->小知识<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
            </ul><!--]-->
          </li>
          <li><!--[--><a aria-current="page" href="/MC1.12.2/command/advanced.html#entitydata"
              class="router-link-active router-link-exact-active nav-link sidebar-link sidebar-heading"
              aria-label="/entitydata"><!---->/entitydata<!----></a>
            <ul class="sidebar-sub-headers">
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#命令解释-9"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="命令解释"><!---->命令解释<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#语法-12"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="语法"><!---->语法<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#名词解释-15"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="名词解释"><!---->名词解释<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#命令举例-12"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="命令举例"><!---->命令举例<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
              <li class="sidebar-sub-header"><a aria-current="page" href="/MC1.12.2/command/advanced.html#小知识-8"
                  class="router-link-active router-link-exact-active nav-link sidebar-link heading"
                  aria-label="小知识"><!---->小知识<!----></a>
                <ul class="sidebar-sub-headers"></ul>
              </li>
            </ul><!--]-->
          </li>
        </ul><!--[--><!----><!--]-->
      </aside><!--[-->
      <main class="page" id="main-content"><!--[--><!----><!---->
        <nav class="breadcrumb disable"></nav>
        <div class="page-title">
          <h1><!---->进阶</h1>
          <div class="page-info"><span class="page-author-info" aria-label="作者🖊" data-balloon-pos="down"><svg
                xmlns="http://www.w3.org/2000/svg" class="icon author-icon" viewBox="0 0 1024 1024" fill="currentColor"
                aria-label="author icon">
                <path
                  d="M649.6 633.6c86.4-48 147.2-144 147.2-249.6 0-160-128-288-288-288s-288 128-288 288c0 108.8 57.6 201.6 147.2 249.6-121.6 48-214.4 153.6-240 288-3.2 9.6 0 19.2 6.4 25.6 3.2 9.6 12.8 12.8 22.4 12.8h704c9.6 0 19.2-3.2 25.6-12.8 6.4-6.4 9.6-16 6.4-25.6-25.6-134.4-121.6-240-243.2-288z">
                </path>
              </svg><span><a class="page-author-item" href="https://dbhg.top" target="_blank"
                  rel="noopener noreferrer">蛋白后宫</a></span><span property="author"
                content="蛋白后宫"></span></span><!----><!----><!----><span class="page-reading-time-info"
              aria-label="阅读时间⌛" data-balloon-pos="down"><svg xmlns="http://www.w3.org/2000/svg" class="icon timer-icon"
                viewBox="0 0 1024 1024" fill="currentColor" aria-label="timer icon">
                <path
                  d="M799.387 122.15c4.402-2.978 7.38-7.897 7.38-13.463v-1.165c0-8.933-7.38-16.312-16.312-16.312H256.33c-8.933 0-16.311 7.38-16.311 16.312v1.165c0 5.825 2.977 10.874 7.637 13.592 4.143 194.44 97.22 354.963 220.201 392.763-122.204 37.542-214.893 196.511-220.2 389.397-4.661 5.049-7.638 11.651-7.638 19.03v5.825h566.49v-5.825c0-7.379-2.849-13.981-7.509-18.9-5.049-193.016-97.867-351.985-220.2-389.527 123.24-37.67 216.446-198.453 220.588-392.892zM531.16 450.445v352.632c117.674 1.553 211.787 40.778 211.787 88.676H304.097c0-48.286 95.149-87.382 213.728-88.676V450.445c-93.077-3.107-167.901-81.297-167.901-177.093 0-8.803 6.99-15.793 15.793-15.793 8.803 0 15.794 6.99 15.794 15.793 0 80.261 63.69 145.635 142.01 145.635s142.011-65.374 142.011-145.635c0-8.803 6.99-15.793 15.794-15.793s15.793 6.99 15.793 15.793c0 95.019-73.789 172.82-165.96 177.093z">
                </path>
              </svg><span>大约 26 分钟</span>
              <meta property="timeRequired" content="PT26M">
            </span><!----><!----></div>
          <hr>
        </div>
        <div class="toc-place-holder">
          <aside id="toc"><!--[--><!----><!--]-->
            <div class="toc-header">此页内容<button type="button" class="print-button" title="打印"><svg
                  xmlns="http://www.w3.org/2000/svg" class="icon print-icon" viewBox="0 0 1024 1024" fill="currentColor"
                  aria-label="print icon">
                  <path
                    d="M819.2 364.8h-44.8V128c0-17.067-14.933-32-32-32H281.6c-17.067 0-32 14.933-32 32v236.8h-44.8C145.067 364.8 96 413.867 96 473.6v192c0 59.733 49.067 108.8 108.8 108.8h44.8V896c0 17.067 14.933 32 32 32h460.8c17.067 0 32-14.933 32-32V774.4h44.8c59.733 0 108.8-49.067 108.8-108.8v-192c0-59.733-49.067-108.8-108.8-108.8zM313.6 160h396.8v204.8H313.6V160zm396.8 704H313.6V620.8h396.8V864zM864 665.6c0 25.6-19.2 44.8-44.8 44.8h-44.8V588.8c0-17.067-14.933-32-32-32H281.6c-17.067 0-32 14.933-32 32v121.6h-44.8c-25.6 0-44.8-19.2-44.8-44.8v-192c0-25.6 19.2-44.8 44.8-44.8h614.4c25.6 0 44.8 19.2 44.8 44.8v192z">
                  </path>
                </svg></button></div>
            <div class="toc-wrapper">
              <ul class="toc-list"><!--[-->
                <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#nbt"
                    class="router-link-active router-link-exact-active toc-link level2">NBT</a></li>
                <li>
                  <ul class="toc-list"><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#介绍"
                        class="router-link-active router-link-exact-active toc-link level3">介绍</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#语法格式"
                        class="router-link-active router-link-exact-active toc-link level3">语法格式</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#实体nbt"
                        class="router-link-active router-link-exact-active toc-link level3">实体NBT</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#语法"
                        class="router-link-active router-link-exact-active toc-link level3">语法</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#名词解释"
                        class="router-link-active router-link-exact-active toc-link level3">名词解释</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#多重举例"
                        class="router-link-active router-link-exact-active toc-link level3">多重举例</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#引用"
                        class="router-link-active router-link-exact-active toc-link level3">引用</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#方块nbt"
                        class="router-link-active router-link-exact-active toc-link level3">方块NBT</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#名词解释-1"
                        class="router-link-active router-link-exact-active toc-link level3">名词解释</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#命令举例"
                        class="router-link-active router-link-exact-active toc-link level3">命令举例</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#数据类型"
                        class="router-link-active router-link-exact-active toc-link level3">数据类型</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#引用-1"
                        class="router-link-active router-link-exact-active toc-link level3">引用</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#物品nbt"
                        class="router-link-active router-link-exact-active toc-link level3">物品NBT</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#背包-物品栏id"
                        class="router-link-active router-link-exact-active toc-link level3">背包/物品栏ID</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#名词解释-2"
                        class="router-link-active router-link-exact-active toc-link level3">名词解释</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#命令举例-1"
                        class="router-link-active router-link-exact-active toc-link level3">命令举例</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#小知识"
                        class="router-link-active router-link-exact-active toc-link level3">小知识</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#引用-2"
                        class="router-link-active router-link-exact-active toc-link level3">引用</a></li><!----><!--]-->
                  </ul>
                </li><!--]--><!--[-->
                <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#json"
                    class="router-link-active router-link-exact-active toc-link level2">Json</a></li>
                <li>
                  <ul class="toc-list"><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#介绍-1"
                        class="router-link-active router-link-exact-active toc-link level3">介绍</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#json格式"
                        class="router-link-active router-link-exact-active toc-link level3">Json格式</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#json文本"
                        class="router-link-active router-link-exact-active toc-link level3">Json文本</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#json用法"
                        class="router-link-active router-link-exact-active toc-link level3">Json用法</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#引用-4"
                        class="router-link-active router-link-exact-active toc-link level3">引用</a></li><!----><!--]-->
                  </ul>
                </li><!--]--><!--[-->
                <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#函数"
                    class="router-link-active router-link-exact-active toc-link level2">函数</a></li>
                <li>
                  <ul class="toc-list"><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#名词解释-3"
                        class="router-link-active router-link-exact-active toc-link level3">名词解释</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#如何使用"
                        class="router-link-active router-link-exact-active toc-link level3">如何使用</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#语法格式-1"
                        class="router-link-active router-link-exact-active toc-link level3">语法格式</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#举例"
                        class="router-link-active router-link-exact-active toc-link level3">举例</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#使用方法"
                        class="router-link-active router-link-exact-active toc-link level3">使用方法</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#小知识-1"
                        class="router-link-active router-link-exact-active toc-link level3">小知识</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#title"
                        class="router-link-active router-link-exact-active toc-link level3">/title</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#命令解释"
                        class="router-link-active router-link-exact-active toc-link level3">命令解释</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#语法-1"
                        class="router-link-active router-link-exact-active toc-link level3">语法</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#名词解释-4"
                        class="router-link-active router-link-exact-active toc-link level3">名词解释</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#命令举例-2"
                        class="router-link-active router-link-exact-active toc-link level3">命令举例</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#小知识-2"
                        class="router-link-active router-link-exact-active toc-link level3">小知识</a></li><!----><!--]-->
                  </ul>
                </li><!--]--><!--[-->
                <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#tellraw"
                    class="router-link-active router-link-exact-active toc-link level2">/tellraw</a></li>
                <li>
                  <ul class="toc-list"><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#命令解释-1"
                        class="router-link-active router-link-exact-active toc-link level3">命令解释</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#语法-2"
                        class="router-link-active router-link-exact-active toc-link level3">语法</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#名词解释-5"
                        class="router-link-active router-link-exact-active toc-link level3">名词解释</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#命令举例-3"
                        class="router-link-active router-link-exact-active toc-link level3">命令举例</a></li><!----><!--]-->
                  </ul>
                </li><!--]--><!--[-->
                <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#testfor"
                    class="router-link-active router-link-exact-active toc-link level2">/testfor</a></li>
                <li>
                  <ul class="toc-list"><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#命令解释-2"
                        class="router-link-active router-link-exact-active toc-link level3">命令解释</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#格式"
                        class="router-link-active router-link-exact-active toc-link level3">格式</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#命令举例-4"
                        class="router-link-active router-link-exact-active toc-link level3">命令举例</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#小知识-3"
                        class="router-link-active router-link-exact-active toc-link level3">小知识</a></li><!----><!--]-->
                  </ul>
                </li><!--]--><!--[-->
                <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#execute"
                    class="router-link-active router-link-exact-active toc-link level2">/execute</a></li>
                <li>
                  <ul class="toc-list"><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#命令解释-3"
                        class="router-link-active router-link-exact-active toc-link level3">命令解释</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#语法-3"
                        class="router-link-active router-link-exact-active toc-link level3">语法</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#名词解释-6"
                        class="router-link-active router-link-exact-active toc-link level3">名词解释</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#大大讲解"
                        class="router-link-active router-link-exact-active toc-link level3">大大讲解</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#小知识-4"
                        class="router-link-active router-link-exact-active toc-link level3">小知识</a></li><!----><!--]-->
                  </ul>
                </li><!--]--><!--[-->
                <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#function"
                    class="router-link-active router-link-exact-active toc-link level2">/function</a></li>
                <li>
                  <ul class="toc-list"><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#命令解释-4"
                        class="router-link-active router-link-exact-active toc-link level3">命令解释</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#语法-4"
                        class="router-link-active router-link-exact-active toc-link level3">语法</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#名词解释-7"
                        class="router-link-active router-link-exact-active toc-link level3">名词解释</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#举例-1"
                        class="router-link-active router-link-exact-active toc-link level3">举例</a></li><!----><!--]-->
                  </ul>
                </li><!--]--><!--[-->
                <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#reload"
                    class="router-link-active router-link-exact-active toc-link level2">/reload</a></li>
                <li>
                  <ul class="toc-list"><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#命令解释-5"
                        class="router-link-active router-link-exact-active toc-link level3">命令解释</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#语法-5"
                        class="router-link-active router-link-exact-active toc-link level3">语法</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#举例-2"
                        class="router-link-active router-link-exact-active toc-link level3">举例</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#小知识-5"
                        class="router-link-active router-link-exact-active toc-link level3">小知识</a></li><!----><!--]-->
                  </ul>
                </li><!--]--><!--[-->
                <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#particle"
                    class="router-link-active router-link-exact-active toc-link level2">/particle</a></li>
                <li>
                  <ul class="toc-list"><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#命令解释-6"
                        class="router-link-active router-link-exact-active toc-link level3">命令解释</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#语法-6"
                        class="router-link-active router-link-exact-active toc-link level3">语法</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#名词解释-8"
                        class="router-link-active router-link-exact-active toc-link level3">名词解释</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#命令举例-5"
                        class="router-link-active router-link-exact-active toc-link level3">命令举例</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#引用-5"
                        class="router-link-active router-link-exact-active toc-link level3">引用</a></li><!----><!--]-->
                  </ul>
                </li><!--]--><!--[-->
                <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#replaceitem"
                    class="router-link-active router-link-exact-active toc-link level2">/replaceitem</a></li>
                <li>
                  <ul class="toc-list"><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#命令解释-7"
                        class="router-link-active router-link-exact-active toc-link level3">命令解释</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#格式-1"
                        class="router-link-active router-link-exact-active toc-link level3">格式</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#名词解释-9"
                        class="router-link-active router-link-exact-active toc-link level3">名词解释</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#命令举例-6"
                        class="router-link-active router-link-exact-active toc-link level3">命令举例</a></li><!----><!--]-->
                  </ul>
                </li><!--]--><!--[-->
                <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#scoreboard"
                    class="router-link-active router-link-exact-active toc-link level2">/scoreboard</a></li>
                <li>
                  <ul class="toc-list"><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#前言"
                        class="router-link-active router-link-exact-active toc-link level3">前言</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#计分板"
                        class="router-link-active router-link-exact-active toc-link level3">计分板</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#队伍"
                        class="router-link-active router-link-exact-active toc-link level3">队伍</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#标签"
                        class="router-link-active router-link-exact-active toc-link level3">标签</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#小知识-6"
                        class="router-link-active router-link-exact-active toc-link level3">小知识</a></li><!----><!--]-->
                  </ul>
                </li><!--]--><!--[-->
                <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#blockdata"
                    class="router-link-active router-link-exact-active toc-link level2">/blockdata</a></li>
                <li>
                  <ul class="toc-list"><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#命令解释-8"
                        class="router-link-active router-link-exact-active toc-link level3">命令解释</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#语法-11"
                        class="router-link-active router-link-exact-active toc-link level3">语法</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#名词解释-14"
                        class="router-link-active router-link-exact-active toc-link level3">名词解释</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#命令举例-11"
                        class="router-link-active router-link-exact-active toc-link level3">命令举例</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#小知识-7"
                        class="router-link-active router-link-exact-active toc-link level3">小知识</a></li><!----><!--]-->
                  </ul>
                </li><!--]--><!--[-->
                <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#entitydata"
                    class="router-link-active router-link-exact-active toc-link level2">/entitydata</a></li>
                <li>
                  <ul class="toc-list"><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#命令解释-9"
                        class="router-link-active router-link-exact-active toc-link level3">命令解释</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#语法-12"
                        class="router-link-active router-link-exact-active toc-link level3">语法</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#名词解释-15"
                        class="router-link-active router-link-exact-active toc-link level3">名词解释</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#命令举例-12"
                        class="router-link-active router-link-exact-active toc-link level3">命令举例</a></li>
                    <!----><!--]--><!--[-->
                    <li class="toc-item"><a aria-current="page" href="/MC1.12.2/command/advanced.html#小知识-8"
                        class="router-link-active router-link-exact-active toc-link level3">小知识</a></li><!----><!--]-->
                  </ul>
                </li><!--]-->
              </ul>
              <div class="toc-marker" style="top:-1.7rem;"></div>
            </div><!--[--><!----><!--]-->
          </aside>
        </div><!---->
        <div class="theme-hope-content">
          <h2 id="nbt" tabindex="-1"><a class="header-anchor" href="#nbt" aria-hidden="true">#</a> NBT</h2>
          <h3 id="介绍" tabindex="-1"><a class="header-anchor" href="#介绍" aria-hidden="true">#</a> 介绍</h3>
          <p><strong>NBT</strong>（二进制命名标签，<strong>N</strong>amed <strong>B</strong>inary <strong>T</strong>ags）
            格式为Minecraft中用于向文件中存储数据的一种存储格式。<br> Notch在一份规范<a
              href="https://minecraft.fandom.com/zh/wiki/NBT%E6%A0%BC%E5%BC%8F?so=search#cite_note-1" target="_blank"
              rel="noopener noreferrer">[1]<span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg"
                  aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15">
                  <path fill="currentColor"
                    d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z">
                  </path>
                  <polygon fill="currentColor"
                    points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9">
                  </polygon>
                </svg><span class="external-link-icon-sr-only">open in new window</span></span></a>中为此格式作了简略的介绍。<br>
            NBT格式以树形结构并配以许多<em>标签</em>的形式存储数据。所有的标签都有一个独立的ID和名称。</p>
          <p><strong>SNBT</strong>（字符串化的二进制命名标签，<strong>S</strong>tringified <strong>NBT</strong>）它与<a
              href="https://minecraft.fandom.com/zh/wiki/JSON" target="_blank" rel="noopener noreferrer">JSON<span><svg
                  class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"
                  x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15">
                  <path fill="currentColor"
                    d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z">
                  </path>
                  <polygon fill="currentColor"
                    points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9">
                  </polygon>
                </svg><span class="external-link-icon-sr-only">open in new
                  window</span></span></a>格式不同，因此所有在NBT中使用的JSON（例如<a
              href="https://minecraft.fandom.com/zh/wiki/%E5%91%BD%E4%BB%A4#%E5%8E%9F%E5%A7%8BJSON%E6%96%87%E6%9C%AC"
              target="_blank" rel="noopener noreferrer">原始JSON文本<span><svg class="external-link-icon"
                  xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px"
                  viewBox="0 0 100 100" width="15" height="15">
                  <path fill="currentColor"
                    d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z">
                  </path>
                  <polygon fill="currentColor"
                    points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9">
                  </polygon>
                </svg><span class="external-link-icon-sr-only">open in new window</span></span></a>）都必须放到字符串标签中。<br>
            SNBT通常在<a href="https://minecraft.fandom.com/zh/wiki/%E5%91%BD%E4%BB%A4" target="_blank"
              rel="noopener noreferrer">命令<span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg"
                  aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15">
                  <path fill="currentColor"
                    d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z">
                  </path>
                  <polygon fill="currentColor"
                    points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9">
                  </polygon>
                </svg><span class="external-link-icon-sr-only">open in new window</span></span></a>里使用。</p>
          <h3 id="语法格式" tabindex="-1"><a class="header-anchor" href="#语法格式" aria-hidden="true">#</a> 语法格式</h3>
          <div class="language-NBT line-numbers-mode" data-ext="NBT">
            <pre class="language-NBT"><code>level.dat
   ├CustomName
         ├&quot;Y_DaDa&quot;
</code></pre>
            <div class="line-numbers" aria-hidden="true">
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
            </div>
          </div>
          <div class="language-SNBT line-numbers-mode" data-ext="SNBT">
            <pre class="language-SNBT"><code>{
    CustomName:&quot;Y_DaDa&quot;
}
</code></pre>
            <div class="line-numbers" aria-hidden="true">
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
            </div>
          </div>
          <p><strong>NBT毕竟比较难以讲述，讲述了也未必能快速理解，所以接下来全部举例来解释</strong></p>
          <p><strong>在指令中使用的NBT格式为SNBT格式</strong></p>
          <hr>
          <h3 id="实体nbt" tabindex="-1"><a class="header-anchor" href="#实体nbt" aria-hidden="true">#</a> 实体NBT</h3>
          <p>处为实体的NBT详述 此处的NBT都为母标签 即在第一个<code>{}</code>里直接输入的</p>
          <p>该标签可用于<code>/entitydata</code>、<code>/summon</code>等带<code>&lt;实体NBT&gt;</code>的指令中，用于更改实体数据</p>
          <p>⚠不可用于玩家</p>
          <h3 id="语法" tabindex="-1"><a class="header-anchor" href="#语法" aria-hidden="true">#</a> 语法</h3>
          <p>独生子：<code>{属性:&quot;数据&quot;}</code></p>
          <p>双生子：<code>{类型:[{属性:&quot;数据&quot;}]}</code></p>
          <p>多子：<code>{类型:[{属性:&quot;数据&quot;,属性:&quot;数据&quot;}}</code></p>
          <h3 id="名词解释" tabindex="-1"><a class="header-anchor" href="#名词解释" aria-hidden="true">#</a> 名词解释</h3>
          <figure><img src="https://img.cdn.tencent-qq.cn/Yize/2023/05/66a5605536b009d1.png" alt="66a5605536b009d1.png"
              tabindex="0" loading="lazy">
            <figcaption>66a5605536b009d1.png</figcaption>
          </figure>
          <div class="language-text line-numbers-mode" data-ext="text">
            <pre class="language-text"><code>1. CustomName  给怪物起名字  配合CustomNameVisible:1显示名字

2. Attributes 生物属性的母标签 格式 {Attributes:[{Name:&quot;generic.maxHealth&quot;,Base:20}]}子标签(即Name后可以输入的)

3. Health 当前生命值 {Health:1f} 一滴血

4. ActiveEffects 药水效果 用法{ActiveEffects:[{Ambient:0b,ShowParticles:0b,Duration:32767,Id:14,Amplifier:-1b}]}

5. Id为药水属性Id 参看药水属性对照

6. Duration为持续时间 计量单位为时间刻（1s=20tick）

7. Amplifier 等级 注意后面要加b

8. 可隐藏粒子效果 ShowParticles:0b

9.  Equipment &amp;&amp; HandItems &amp;&amp; ArmorItems 生物装备 &amp;&amp; 手上、身上的物品

   用法：{HandItems:[{id:XX,CountLX}]}

   {Equipment:[{id:武器,Count:X},{id:靴子,Count:X},{id:腿部,Count:X},{id:胸甲,Count:X},{id:头盔,Count:X}]}

   如果要给他戴个帽子但是不装备其他位置就要输入

   {Equipment:[{},{},{},{}{id:头盔,Count:X}]}

   不推荐使用这个NBT 毕竟有replaceitem 比较清楚一点

   NoAI 使生物不具有AI 不打人不动

   Riding&amp;&amp;Passengers 骑乘 用法{Riding:{id:pig}}

   {Passengers:[{id:pig},{id:pig}]  passengers可以叠加

   另外可以加入其他NBT 如

   {Riding:{id:pig,CustomName:&quot;Y_DaDa&quot;,CustomNameVisible:1b,Riding:{id:zombie,HealF:1f}}}

   就是骑着一只名为Y_DaDa的猪 猪骑着一只僵尸僵尸只有1滴血

   但是Riding经常生成不出来 尽量用passengers

   direction 实体移动方向及速度{Direction:[x y z]}

   {Direction:[1.0d,1.0d.0.0d]} 就是朝x正方向 y轴正方向物理移动

   推荐用motion 因为Direction 似乎有不知名的问题

   Motion {Motion:[1.0d,1.0d,0.0d]} 同Direction

   DropChances &amp;&amp; HandDropChances &amp;&amp; ArmorDropChances 掉落几率  5个浮动值

   用法：{DropChances:[xf,xf,xf,xf,xf]}

      {HandDropChances:[xf,xf,xf,xf,xf]}

   {ArmorDropChances:[xf,xf,xf,xf,xf]}

   5个f分别对应的是武器 脚 腿 胸 头 百分百掉落为1f

   Fire 实体被火烧的时间 {Fire:1}到{Fire:32767}

   Nogravity 无重力 

   一些特殊的

   Type（马） {Type:1-∞}   4为骷髅马

   IsBaby （村民和僵尸） {IsBaby:1} {IsVillager:1}  小僵尸村民僵尸

   CanPickUpLoot {CanPickUpLoot:1} 实体可捡拾物品

   Saddle（鞍）  {Saddle:1/0  true/false}

   Owner（马、狼等主人） {Owner:ID}

   Variant（马的变种） {Variant:1-1030}

   Size（史莱姆、岩浆怪、幻翼） {Size:0-255}

   Block（falling_block） {Block:”XXX”}

   Time（falling_block）{Time:-1-127}  0立即消失

   DropItem（falling_block）{DropItem:0/1}  是否掉落自身

   Fuse（TNT、苦力怕）{Fuse:0-32767}  点燃到爆炸的时间

   powered （苦力怕） {powered:1} 高压苦力怕ExplosionRadius （苦力怕） {ExplosionRadius:255} 爆炸威力

   ExplosionPower（爆炸类）{ExplosionPower:0-127} 爆炸威力

   ighited （苦力怕） {ighited:1} 苦力怕点燃

</code></pre>
            <div class="line-numbers" aria-hidden="true">
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
            </div>
          </div>
          <p>其余生物的特殊NBT参看【引用】 ​</p>
          <h3 id="多重举例" tabindex="-1"><a class="header-anchor" href="#多重举例" aria-hidden="true">#</a> 多重举例</h3>
          <p>使用指令<code>/summon</code>举例</p>
          <p>生成一头猪，名叫<code>Y_DaDa</code>指令如下（名字不会显示）</p>
          <p><code>/summon minecraft:pig &lt;x y z&gt; {CustomName:&quot;Y_DaDa&quot;}</code></p>
          <p>生成一头猪，名叫<code>Y_DaDa</code>并显示名字指令如下</p>
          <p><code>/summon minecraft:pig &lt;x y z&gt; {CustomName:&quot;Y_DaDa&quot;,CustomNameVisible:1}</code></p>
          <h3 id="引用" tabindex="-1"><a class="header-anchor" href="#引用" aria-hidden="true">#</a> 引用</h3>
          <p><a
              href="https://minecraft.fandom.com/zh/wiki/%E6%95%99%E7%A8%8B/NBT%E5%91%BD%E4%BB%A4%E6%A0%87%E7%AD%BE#%E5%AE%9E%E4%BD%93"
              target="_blank" rel="noopener noreferrer">Wiki百科-实体<span><svg class="external-link-icon"
                  xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px"
                  viewBox="0 0 100 100" width="15" height="15">
                  <path fill="currentColor"
                    d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z">
                  </path>
                  <polygon fill="currentColor"
                    points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9">
                  </polygon>
                </svg><span class="external-link-icon-sr-only">open in new window</span></span></a></p>
          <p><a href="https://minecraft.fandom.com/zh/wiki/%E5%B1%9E%E6%80%A7" target="_blank"
              rel="noopener noreferrer">Wiki百科-属性<span><svg class="external-link-icon"
                  xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px"
                  viewBox="0 0 100 100" width="15" height="15">
                  <path fill="currentColor"
                    d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z">
                  </path>
                  <polygon fill="currentColor"
                    points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9">
                  </polygon>
                </svg><span class="external-link-icon-sr-only">open in new window</span></span></a></p>
          <hr>
          <h3 id="方块nbt" tabindex="-1"><a class="header-anchor" href="#方块nbt" aria-hidden="true">#</a> 方块NBT</h3>
          <p>这些标签用于<code>/setblock</code>或<code>/fill</code>命令放置<a
              href="https://wiki.biligame.com/mc/%E6%96%B9%E5%9D%97" target="_blank"
              rel="noopener noreferrer">方块<span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg"
                  aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15">
                  <path fill="currentColor"
                    d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z">
                  </path>
                  <polygon fill="currentColor"
                    points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9">
                  </polygon>
                </svg><span class="external-link-icon-sr-only">open in new
                  window</span></span></a>或是<code>/data</code>命令更改方块实体的NBT标签。</p>
          <p>截止至目前,只有四种物品拥有方块NBT:命令方块,容器,信标,刷怪笼</p>
          <h3 id="名词解释-1" tabindex="-1"><a class="header-anchor" href="#名词解释-1" aria-hidden="true">#</a> 名词解释</h3>
          <p>1.命令方块(可被用于放置或修改所有种类的命令方块)</p>
          <table>
            <thead>
              <tr>
                <th>标签名称</th>
                <th>描述</th>
                <th>格式或允许值</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td>Command</td>
                <td>命令方块内的命令,命令内的<code>&quot;&quot;</code>或者<code>\</code>需要转义</td>
                <td><code>{Command:&quot;一条完整的命令&quot;}</code></td>
              </tr>
              <tr>
                <td>auto</td>
                <td>命令方块是否为&quot;默认开启&quot;,默认为<code>0b</code>(否)</td>
                <td>1/0(是/否)</td>
              </tr>
              <tr>
                <td>CustomName</td>
                <td>命令方块的名字,必须是原始JSON文本,默认不存在.修改后使用此命令方块执行 <code>/say</code> 和 <code>/tell</code>
                  等命令在聊天栏显示内容时开头的<code>[@]</code>会被替换为<code>[你定义的名字]</code></td>
                <td><code>{CustomName:&#39;{&quot;text&quot;:&quot;名字&quot;}&#39;}</code></td>
              </tr>
            </tbody>
          </table>
          <p>2.容器(可被用于放置或修改大多数容器方块,但同样适用于/summon生成或/data更改的运输矿车和漏斗矿车)</p>
          <table>
            <thead>
              <tr>
                <th>标签名称</th>
                <th>描述</th>
                <th>格式或允许值</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td>CustomName</td>
                <td>修改打开容器后在界面上方的容器名,必须是原始JSON文本,默认不存在(使用铁砧修改物品名后放下可达到类似效果)</td>
                <td><code>{CustomName:&#39;{&quot;text&quot;:&quot;名字&quot;}&#39;}</code></td>
              </tr>
              <tr>
                <td>Lock</td>
                <td>
                  纯文本字符串,用于给容器上锁,默认不存在.如果定义了此标签,只有当手持物品名字与标签定义的名字完全相同时开启.<br><strong>注意</strong>:这个标签只是比较容器的<code>Lock</code>标签和物品的<code>Name</code>标签内&quot;名字&quot;的文本是否一致,也就是说,如果你给一个箱子上了<code>{Lock:&quot;红石火把&quot;}</code>的标签,是无法直接用未修改名称的红石火把打开的
                </td>
                <td><code>{Lock:&quot;开启容器的物品的名字&quot;}</code></td>
              </tr>
              <tr>
                <td>Items</td>
                <td>一个由<strong>复合</strong>标签组成的列表，每一个复合标签里都分别有一个完整的物品共通标签以指定容器内指定槽位的物品</td>
                <td>见物品共通标签</td>
              </tr>
              <tr>
                <td>LootTable</td>
                <td>
                  决定容器在第一次被交互(打开,破坏,与漏斗交互等)后容器里生成的战利品,默认不存在.只适用于箱子、陷阱箱、运输矿车、漏斗、漏斗矿车、发射器、投掷器和潜影盒.详见战利品表.<br><strong>注意</strong>:定义此标签后,容器内物品(<code>Item</code>)会消失
                </td>
                <td><code>{LootTable:&quot;战利品表的命名空间ID值&quot;}，详见战利品表</code></td>
              </tr>
              <tr>
                <td>LootTableSeed</td>
                <td>
                  决定生成战利品表时使用的种子，默认为空，只在定义了<code>LootTable</code>时有效。此项为空或者是0时将使用随机的种子.<br><strong>注意</strong>：这个标签在机制上类似于生成世界的种子，这意味着只要这个标签值一样，同一个战利品表始终会得到完全相同的战利品，连位置都不会变
                </td>
                <td>数据类型所允许的任意数值</td>
              </tr>
            </tbody>
          </table>
          <p>3.信标</p>
          <table>
            <thead>
              <tr>
                <th>标签名称</th>
                <th>描述</th>
                <th>格式或允许值</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td>Primary</td>
                <td>用于设置信标主效果,默认为-1.信标将提供I级对应效果,即便信标等级未达到所需等级</td>
                <td>-1（无效果）、1（迅捷）、3（急迫）、5（力量）、8（跳跃提升）、10（生命恢复）或11（抗性提升）</td>
              </tr>
              <tr>
                <td>Secondary</td>
                <td>用于设置信标辅助效果,默认为-1.如果此效果与<code>Primary</code>内的效果一致,将会提供等级为II级的对应效果(甚至是原版做不到的生命恢复II),否则提供I级的对应辅助效果
                </td>
                <td>-1（无效果）、1（迅捷）、3（急迫）、5（力量）、8（跳跃提升）、10（生命恢复）或11（抗性提升）</td>
              </tr>
            </tbody>
          </table>
          <p>4.刷怪笼(这些标签用于放置或修改刷怪笼，但是同样也对<a
              href="https://wiki.biligame.com/mc/%E5%88%B7%E6%80%AA%E7%AC%BC%E7%9F%BF%E8%BD%A6" target="_blank"
              rel="noopener noreferrer">刷怪笼矿车<span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg"
                  aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15">
                  <path fill="currentColor"
                    d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z">
                  </path>
                  <polygon fill="currentColor"
                    points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9">
                  </polygon>
                </svg><span class="external-link-icon-sr-only">open in new window</span></span></a>有效。)</p>
          <table>
            <thead>
              <tr>
                <th>标签名称</th>
                <th>描述</th>
                <th>母标签</th>
                <th>格式或允许值</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td>SpawnCount</td>
                <td>刷怪笼每次生成时的最大尝试生成次数.也可理解为刷怪笼每个生成周期最多能生成的实体数.默认为<code>4s</code></td>
                <td>无（处于根标签）</td>
                <td>数据类型所允许的任意数值</td>
              </tr>
              <tr>
                <td>SpawnRange</td>
                <td>
                  刷怪笼每次生成时的尝试生成的实体的范围。默认为<code>4s</code>.<br><strong>注意</strong>:这个范围是一个长方体,以刷怪笼所在位置的西北下角(xyz最小值)为中心,其边界为X±R、Y±1、Z±R（<em>R</em>为<code>SpawnRange</code>的值），从而得到一个2R*3*2R的空间
                </td>
                <td>无（处于根标签）</td>
                <td>数据类型所允许的任意数值</td>
              </tr>
              <tr>
                <td>RequiredPlayerRange</td>
                <td>
                  刷怪笼开始工作（表现为出现火焰粒子效果和刷怪笼内的实体开始旋转）时所需的玩家与刷怪笼的最小距离。刷怪笼会每刻检测一次是否有玩家进入范围。默认为<code>16s</code><br><strong>注意</strong>：旁观模式玩家不会被检测
                </td>
                <td>无（处于根标签）</td>
                <td>数据类型所允许的任意数值</td>
              </tr>
              <tr>
                <td>MaxNearbyEntities</td>
                <td>刷怪笼每次生成时允许的附近最大实体数。默认为<code>6s</code><br><strong>注意</strong>刷怪笼只会检测范围内与下一次将要生成的实体（储存于
                  <strong>SpawnData</strong>，见下）id相同的实体的数量，范围为一个以刷怪笼自身为中心的2R*8*2R为棱长的柱体区域（<em>R</em>为<code>SpawnRange</code>的值）。注意这个检测实际上检测的是实体的碰撞箱而不是实体的位置，只要碰撞箱有一部分在这个区域内即判定该实体在附近。如果附近的实体数大于这个值，刷怪笼将不会生成实体
                </td>
                <td>无（处于根标签）</td>
                <td>数据类型所允许的任意数值</td>
              </tr>
              <tr>
                <td>MinSpawnDelay</td>
                <td>刷怪笼每次成功生成实体后距离下次生成的所需的最小时间，单位为刻。默认为<code>200s</code><br><strong>注意</strong>：填入负数会被视为<code>0s</code>
                </td>
                <td>无（处于根标签）</td>
                <td>数据类型所允许的任意数值</td>
              </tr>
              <tr>
                <td>MaxSpawnDelay</td>
                <td>
                  刷怪笼每次成功生成实体后距离下次生成的所需的最大时间，单位为刻。默认为<code>800s</code><br><strong>注意</strong>：如果这个值比<code>MinSpawnDelay</code>还小，那么会被视为与<code>MinSpawnDelay</code>相等
                </td>
                <td>无（处于根标签）</td>
                <td>数据类型所允许的任意数值</td>
              </tr>
              <tr>
                <td>Delay</td>
                <td>
                  刷怪笼距离下次生成的所剩余的时间，单位为刻，为<code>0s</code>时会开始尝试生成实体,会在每次成功生成实体后刷新（即在<code>MinSpawnDelay</code>到<code>MaxSpawnDelay</code>之间随机选择一个数填入）。如果玩家与刷怪笼的距离不大于<code>RequiredPlayerRange</code>，则每刻减少1。默认为<code>0s</code>
                </td>
                <td>无（处于根标签）</td>
                <td>数据类型所允许的任意数值</td>
              </tr>
              <tr>
                <td>SpawnData</td>
                <td>
                  刷怪笼下一次将要生成的实体的标签。默认为<code>{SpawnData:{id:&quot;minecraft:pig&quot;}}</code><br><strong>注意</strong>：刷怪笼会在每次成功生成实体后从
                  <strong>SpawnPotentials</strong>中选择一项覆盖此标签
                </td>
                <td>无（处于根标签）</td>
                <td><strong>id</strong>和该实体id所拥有的所有标签</td>
              </tr>
              <tr>
                <td>SpawnPotentials</td>
                <td>一个由<strong>复合</strong>标签组成的列表，每一个<strong>复合</strong>标签里都分别有一个列表，用于定义刷怪笼将可能生成的一个实体的信息</td>
                <td>无（处于根标签）</td>
                <td><strong>Entity</strong>、 <strong>Weight</strong></td>
              </tr>
              <tr>
                <td>Entity</td>
                <td>
                  刷怪笼将要生成的一个实体的标签，和<strong>SpawnData</strong>格式相同。默认为<code>{Entity:{id:&quot;minecraft:pig&quot;}}</code>
                </td>
                <td><strong>SpawnPotentials</strong>（的一项）</td>
                <td><strong>id</strong>和该实体id所拥有的所有标签</td>
              </tr>
              <tr>
                <td>Weight</td>
                <td>该实体被选为下一个将要被生成的实体的概率的权重。默认为<code>1</code>。<br><strong>注意</strong>：Weight对概率的算法是，该实体被选中的概率=该实体的
                  <strong>Weight</strong>值/所有 <strong>Weight</strong>值之和。
                  <strong>警告</strong>：如果填入小于<code>1</code>的值，会导致游戏崩溃。
                </td>
                <td><strong>SpawnPotentials</strong>（的一项）</td>
                <td>正整数</td>
              </tr>
              <tr>
                <td>id</td>
                <td>刷怪笼下一次将要生成的实体的id。默认为<code>&quot;minecraft:pig&quot;</code></td>
                <td><strong>SpawnData</strong>或 <strong>Entity</strong></td>
                <td>实体的命名空间ID</td>
              </tr>
            </tbody>
          </table>
          <h3 id="命令举例" tabindex="-1"><a class="header-anchor" href="#命令举例" aria-hidden="true">#</a> 命令举例</h3>
          <h4 id="命令方块" tabindex="-1"><a class="header-anchor" href="#命令方块" aria-hidden="true">#</a> 命令方块:</h4>
          <p>放置一个循环命令方块,保持开启,指令为<code>/say dada</code>,命令方块名称为<code>RainbowQwQ</code></p>
          <p>
            <code>/setblock ~ ~ ~ repeating_command_block{auto:1b,Command:&quot;/say dada&quot;,{CustomName:&#39;{&quot;text&quot;:&quot;RainbowQwQ&quot;}&#39;}</code>
          </p>
          <h4 id="容器" tabindex="-1"><a class="header-anchor" href="#容器" aria-hidden="true">#</a> 容器:</h4>
          <p>放置一个名称为dada,需要&quot;钥匙&quot;名称为dada的上锁的箱子</p>
          <p>
            <code>/setblock ~ ~ ~ chest{CustomName:&#39;{&quot;text&quot;:&quot;dada&quot;}&#39;,Lock:&quot;dada&quot;}</code>
          </p>
          <h4 id="信标" tabindex="-1"><a class="header-anchor" href="#信标" aria-hidden="true">#</a> 信标:</h4>
          <p>放置一个主效果为速度,辅助效果为跳跃的信标</p>
          <p><code>/setblock ~ ~ ~ beacon{Primary:1,Secondary:8}</code></p>
          <h3 id="数据类型" tabindex="-1"><a class="header-anchor" href="#数据类型" aria-hidden="true">#</a> 数据类型</h3>
          <p><code>SNBT</code></p>
          <h3 id="引用-1" tabindex="-1"><a class="header-anchor" href="#引用-1" aria-hidden="true">#</a> 引用</h3>
          <p><a
              href="https://minecraft.fandom.com/zh/wiki/%E6%95%99%E7%A8%8B/NBT%E5%91%BD%E4%BB%A4%E6%A0%87%E7%AD%BE#%E6%96%B9%E5%9D%97"
              target="_blank" rel="noopener noreferrer">Wiki百科-方块nbt<span><svg class="external-link-icon"
                  xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px"
                  viewBox="0 0 100 100" width="15" height="15">
                  <path fill="currentColor"
                    d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z">
                  </path>
                  <polygon fill="currentColor"
                    points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9">
                  </polygon>
                </svg><span class="external-link-icon-sr-only">open in new window</span></span></a></p>
          <h4 id="提供" tabindex="-1"><a class="header-anchor" href="#提供" aria-hidden="true">#</a> 提供</h4>
          <p>由<code>RainbowQwQ</code>补全相关信息</p>
          <hr>
          <h3 id="物品nbt" tabindex="-1"><a class="header-anchor" href="#物品nbt" aria-hidden="true">#</a> 物品NBT</h3>
          <p>所有物品都可以在无限物品编辑器里直接复制NBT粘贴到命令方块里</p>
          <p>【引用】第一项里的Item是指生成的掉落物<code>/summon minecraft:item &lt;x y z&gt; &lt;NBT&gt;</code> 这个部分参看</p>
          <p>该标签可用于<code>/give</code>、<code>/itemdata</code>等带<code>&lt;物品NBT&gt;</code>的命令，用于修改物品数据</p>
          <h3 id="背包-物品栏id" tabindex="-1"><a class="header-anchor" href="#背包-物品栏id" aria-hidden="true">#</a> 背包/物品栏ID
          </h3>
          <figure><img src="https://img.cdn.tencent-qq.cn/Yize/2023/05/77e145633ed6c5bb.png" alt="77e145633ed6c5bb.png"
              tabindex="0" loading="lazy">
            <figcaption>77e145633ed6c5bb.png</figcaption>
          </figure>
          <h3 id="名词解释-2" tabindex="-1"><a class="header-anchor" href="#名词解释-2" aria-hidden="true">#</a> 名词解释</h3>
          <div class="language-text line-numbers-mode" data-ext="text">
            <pre class="language-text"><code>1. Count 数量 任何物品都可以被堆叠

  {Count:-128-127} 小于1数值显示为红色

2. Slot 物品所在物品栏位

  {Slot:0-103b}

3. Id 物品的id

  {id:&quot;minecraft:stone} 石头

4. Tag 物品的额外信息（即5-19）

5. Damage 物品损伤 默认为0

6. ench 1.13后为Enchantment{ench:[{Id:lvl:0-32767},{id: ,lvl:}]可叠加多个

　　0-保护，Protection （头盔，装甲，鞋子，裤子）

　　1-火焰保护，Fire Protection （头盔，装甲，鞋子，裤子）

　　2-摔落保护，Feather Falling （鞋子）

　　3-爆炸保护，Blast Protection （头盔，装甲，鞋子，裤子）

　　4-弹射物保护，Projectile Protection （头盔，装甲，鞋子，裤子）

　　5-水下呼吸，Respiration （头盔）

　　6-水下速掘，Aqua Affinity （头盔）

　　7-荆棘，Thorns （头盔，装甲，鞋子，裤子）

  8-深海探索者 （鞋子）

  9-冰霜行者  （鞋子）

　　16-锋利，Sharpness （剑）

　　17-亡灵杀手，Smite （剑）

　　18-节肢杀手，Bane Of Arthropods （剑）

　　19-击退，Knock Back （剑）

　　20-火焰附加，Fire Aspect （剑）

　　21-抢夺，Looting （剑）

　　32 -挖掘效率，Efficiency （稿子，斧子，铲子）

　　33-精准采集，Silk Touch （稿子，斧子，铲子）

　　34-耐久，Unbreaking （稿子，斧子，铲子，武器，装备）

　　35-时运，Fortune （稿子，斧子，铲子）

　　48-力量，Power （弓箭）

　　49-击退，Punch （弓箭）

　　50-火焰附加，Flame （弓箭）

　　51-无限，Infinity （弓箭）

  61-海之眷顾 （鱼竿）

  62-铒钓 （鱼竿）

  70-经验修补 （所有物品）

7. RepairCost 在铁砧上修理所额外增加的附魔等级

8. Display {display:{Name:&quot;物品&quot;,color:[xxxxx],Lore:[&quot;&quot;,&quot;&quot;,&quot;&quot;]}}

Color 是一个6位16进制的颜色数值 转换成十进制
可用红色RGB数值(0~255)乘65536 加上绿色RGB数值乘256 再加上蓝色RGB数值 得Color参数

9. AttributeModifiers 物品属性 https://www.bilibili.com/read/cv6892100/ 

  如果要用命令方块给予 最好复制粘贴 自己写容错率太小

10. Unbreakable 无法破坏

  {Unbreakable:1}

11. SkullOwner 玩家头颅

  {SkullOwner:&quot;玩家名&quot;}

12. HideFlags 隐藏标签 比如附魔 可破坏 可放置

  {HideFlags:

1-附魔

2-属性

4无法破坏

8-可破坏

16-可放置

32-药水效果

  {HideFlags:3} 表示隐藏附魔和属性 （1+2）

13. CanDestroy 可摧毁

  {CanDestroy:[&quot;minecraft:stone&quot;,&quot;minecraft:log&quot;] 可摧毁石头和木头

14. CanPlaceOn 可放置

  {CanPlaceOn:[&quot;minecraft:stone&quot;,&quot;minecraft:log&quot;] 可放置于石头和木头

15. PickupDelay 掉落物捡起时长

  {PickupDelay:0-32767} 32767为不可捡起 计量单位为tick

16. Age 掉落物消失时长

  {Age:任意数字} -32768 为不会消失 计量单位为tick 

17. BlockStateTag 方块状态 放置时会强制附加 [https://minecraft.fandom.com/zh/wiki/%E6%96%B9%E5%9D%97%E7%8A%B6%E6%80%81](https://minecraft.fandom.com/zh/wiki/方块状态)

方块状态列表

  {BlockStateTag:{facing:&quot;east&quot;}}

18. 药水效果：（无限物品编辑器也能改）

1. CustomPotionEffects

1. id  药水效果id

2. Amplifier  等级

3. ShowParticles 显示粒子效果

4. Duration 时间 {CustomPotionEffects:{id:1,Amplifier:1,Duration:1,ShowParticles:0}

2. CustomPotionColor 自定义效果颜色

19. 烟花火箭

1. Flight 持续时间 {Flight:-128-127}

2. Explosions 爆炸效果列表 {Explosions:[{

Flicker 闪烁效果1/0

Trail 踪迹效果1/0

Type 爆炸样式 

0 小球

1 大球

2 星星

3 苦力怕

4 爆裂

Colors 颜色

FadeColors 爆炸后淡化颜色

</code></pre>
            <div class="line-numbers" aria-hidden="true">
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
            </div>
          </div>
          <h3 id="命令举例-1" tabindex="-1"><a class="header-anchor" href="#命令举例-1" aria-hidden="true">#</a> 命令举例</h3>
          <p>给自己一张名为<code>大大</code>的纸 指令如下</p>
          <p><code>/give @s minecraft:paper 1 0 {display:{Name:&quot;大大&quot;}}</code></p>
          <p>清除自己一张名为<code>大大</code>的纸 指令如下</p>
          <p><code>/clear @s minecraft:paper 1 0 {display:{Name:&quot;大大&quot;}}</code></p>
          <h3 id="小知识" tabindex="-1"><a class="header-anchor" href="#小知识" aria-hidden="true">#</a> 小知识</h3>
          <p>生成物品实体的标签，是<code>&lt;物品NBT&gt;</code> 格式如下</p>
          <p><code>/summon minecraft:item &lt;x y z&gt; &lt;物品NBT&gt;</code></p>
          <h3 id="引用-2" tabindex="-1"><a class="header-anchor" href="#引用-2" aria-hidden="true">#</a> 引用</h3>
          <p>大大的《1.12.2指令大全》-物品NBT</p>
          <p><a
              href="https://minecraft.fandom.com/zh/wiki/%E6%95%99%E7%A8%8B/NBT%E5%91%BD%E4%BB%A4%E6%A0%87%E7%AD%BE#%E7%89%A9%E5%93%81"
              target="_blank" rel="noopener noreferrer">Wiki百科-物品<span><svg class="external-link-icon"
                  xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px"
                  viewBox="0 0 100 100" width="15" height="15">
                  <path fill="currentColor"
                    d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z">
                  </path>
                  <polygon fill="currentColor"
                    points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9">
                  </polygon>
                </svg><span class="external-link-icon-sr-only">open in new window</span></span></a></p>
          <hr>
          <h4 id="引用-3" tabindex="-1"><a class="header-anchor" href="#引用-3" aria-hidden="true">#</a> 引用</h4>
          <p><a href="https://www.gamersky.com/handbook/201607/786818.shtml" target="_blank"
              rel="noopener noreferrer">NBT使用<span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg"
                  aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15">
                  <path fill="currentColor"
                    d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z">
                  </path>
                  <polygon fill="currentColor"
                    points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9">
                  </polygon>
                </svg><span class="external-link-icon-sr-only">open in new window</span></span></a></p>
          <p><a href="https://minecraft.fandom.com/zh/wiki/NBT%E6%A0%BC%E5%BC%8F" target="_blank"
              rel="noopener noreferrer">NBT格式-Wiki百科<span><svg class="external-link-icon"
                  xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px"
                  viewBox="0 0 100 100" width="15" height="15">
                  <path fill="currentColor"
                    d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z">
                  </path>
                  <polygon fill="currentColor"
                    points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9">
                  </polygon>
                </svg><span class="external-link-icon-sr-only">open in new window</span></span></a></p>
          <p><a href="https://minecraft.fandom.com/zh/wiki/%E6%95%99%E7%A8%8B/NBT%E5%91%BD%E4%BB%A4%E6%A0%87%E7%AD%BE"
              target="_blank" rel="noopener noreferrer">NBT命令标签<span><svg class="external-link-icon"
                  xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px"
                  viewBox="0 0 100 100" width="15" height="15">
                  <path fill="currentColor"
                    d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z">
                  </path>
                  <polygon fill="currentColor"
                    points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9">
                  </polygon>
                </svg><span class="external-link-icon-sr-only">open in new window</span></span></a></p>
          <hr>
          <h2 id="json" tabindex="-1"><a class="header-anchor" href="#json" aria-hidden="true">#</a> Json</h2>
          <h3 id="介绍-1" tabindex="-1"><a class="header-anchor" href="#介绍-1" aria-hidden="true">#</a> 介绍</h3>
          <p>JSON（JavaScript Object Notation, JS对象简谱）是一种轻量级的数据交换格式。它基于 ECMAScript（European Computer Manufacturers
            Association, 欧洲计算机协会制定的js规范）的一个子集，采用完全独立于编程语言的文本格式来存储和表示数据。简洁和清晰的层次结构使得 JSON 成为理想的数据交换语言。
            易于人阅读和编写，同时也易于机器解析和生成，并有效地提升网络传输效率。</p>
          <h3 id="json格式" tabindex="-1"><a class="header-anchor" href="#json格式" aria-hidden="true">#</a> Json格式</h3>
          <div class="language-json line-numbers-mode" data-ext="json">
            <pre class="language-json"><code><span class="token punctuation">{</span>
    <span class="token property">&quot;CustomName&quot;</span><span class="token operator">:</span><span class="token string">&quot;Y_DaDa&quot;</span>
<span class="token punctuation">}</span>
</code></pre>
            <div class="line-numbers" aria-hidden="true">
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
            </div>
          </div>
          <h3 id="json文本" tabindex="-1"><a class="header-anchor" href="#json文本" aria-hidden="true">#</a> Json文本</h3>
          <p>查看引用</p>
          <h3 id="json用法" tabindex="-1"><a class="header-anchor" href="#json用法" aria-hidden="true">#</a> Json用法</h3>
          <p>在指令中带<code>&lt;Json文本&gt;</code>字样的都必须用Json格式</p>
          <p>如果要显示一段标题为<code>大大</code>那么命令是</p>
          <p><code>/title @a title [{&quot;text&quot;:&quot;大大&quot;}]</code></p>
          <p>或者使用【格式化】格式</p>
          <p><code>/title @a title [&quot;大大&quot;]</code></p>
          <h3 id="引用-4" tabindex="-1"><a class="header-anchor" href="#引用-4" aria-hidden="true">#</a> 引用</h3>
          <p><a
              href="https://minecraft.fandom.com/zh/wiki/%E5%8E%9F%E5%A7%8BJSON%E6%96%87%E6%9C%AC%E6%A0%BC%E5%BC%8F?so=search#Java%E7%89%88E5%A7%8BJSON%E6%96%87%E6%9C%AC%E6%A0%BC%E5%BC%8F"
              target="_blank" rel="noopener noreferrer">Wiki百科-Json文本<span><svg class="external-link-icon"
                  xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px"
                  viewBox="0 0 100 100" width="15" height="15">
                  <path fill="currentColor"
                    d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z">
                  </path>
                  <polygon fill="currentColor"
                    points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9">
                  </polygon>
                </svg><span class="external-link-icon-sr-only">open in new window</span></span></a></p>
          <hr>
          <h2 id="函数" tabindex="-1"><a class="header-anchor" href="#函数" aria-hidden="true">#</a> 函数</h2>
          <h3 id="名词解释-3" tabindex="-1"><a class="header-anchor" href="#名词解释-3" aria-hidden="true">#</a> 名词解释</h3>
          <p>在1.13之后的版本支持<code>数据包</code>，但在这之前呢？</p>
          <p>1.12.2版本，打开地图文件夹，你会看到一个<code>data</code>的文件夹，进入文件夹里面有两个文件夹，其中有个<code>functions</code>文件夹</p>
          <p><code>functions</code>函数</p>
          <p><strong>这里用最简单的话说，就是一个脚本</strong></p>
          <h3 id="如何使用" tabindex="-1"><a class="header-anchor" href="#如何使用" aria-hidden="true">#</a> 如何使用</h3>
          <p>进入文件夹内，首先先创建一个不含中文字符的名称的文件夹（如：<code>mc</code>)</p>
          <p>然后再创建文件<code>&lt;文件名&gt;.mcfunction</code></p>
          <p>一定要注意后缀，是<code>*.mcfunction</code></p>
          <p>这就是函数脚本了</p>
          <p><code>你可以在里面写我的世界任何原版指令</code></p>
          <h3 id="语法格式-1" tabindex="-1"><a class="header-anchor" href="#语法格式-1" aria-hidden="true">#</a> 语法格式</h3>
          <div class="language-mcfunction line-numbers-mode" data-ext="mcfunction">
            <pre class="language-mcfunction"><code># 注释
指令
指令
</code></pre>
            <div class="line-numbers" aria-hidden="true">
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
            </div>
          </div>
          <p>注意：指令一定是没有<code>/</code>的</p>
          <h3 id="举例" tabindex="-1"><a class="header-anchor" href="#举例" aria-hidden="true">#</a> 举例</h3>
          <div class="language-mcfunction line-numbers-mode" data-ext="mcfunction">
            <pre class="language-mcfunction"><code># 生成一头猪，并提示已生成
summon minecraft:pig ~ ~ ~
title @a title [&quot;已生成&quot;]
</code></pre>
            <div class="line-numbers" aria-hidden="true">
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
            </div>
          </div>
          <h3 id="使用方法" tabindex="-1"><a class="header-anchor" href="#使用方法" aria-hidden="true">#</a> 使用方法</h3>
          <p>在游戏中它会从上往下，顺序执行</p>
          <p>前往<a href="#function"><code>/function</code></a>指令</p>
          <h3 id="小知识-1" tabindex="-1"><a class="header-anchor" href="#小知识-1" aria-hidden="true">#</a> 小知识</h3>
          <p>善用函数/脚本能大大提升地图质量与速度</p>
          <hr>
          <h3 id="title" tabindex="-1"><a class="header-anchor" href="#title" aria-hidden="true">#</a>
            <code>/title</code>
          </h3>
          <h3 id="命令解释" tabindex="-1"><a class="header-anchor" href="#命令解释" aria-hidden="true">#</a> 命令解释</h3>
          <h4 id="标题" tabindex="-1"><a class="header-anchor" href="#标题" aria-hidden="true">#</a> 标题</h4>
          <h3 id="语法-1" tabindex="-1"><a class="header-anchor" href="#语法-1" aria-hidden="true">#</a> 语法</h3>
          <p><code>/title &lt;玩家&gt; &lt;actionbar|title|subtitle&gt; &lt;Json文本&gt;</code></p>
          <p><code>/title &lt;玩家&gt; &lt;clear|reset&gt;</code></p>
          <p><code>/title &lt;玩家&gt; &lt;times&gt; &lt;淡入时间&gt; &lt;显示时间&gt; &lt;淡出时间&gt;</code></p>
          <h3 id="名词解释-4" tabindex="-1"><a class="header-anchor" href="#名词解释-4" aria-hidden="true">#</a> 名词解释</h3>
          <table>
            <thead>
              <tr>
                <th style="text-align:center;">属性名</th>
                <th style="text-align:center;">说明</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td style="text-align:center;">actionbar</td>
                <td style="text-align:center;">物品栏上方的标题</td>
              </tr>
              <tr>
                <td style="text-align:center;">title</td>
                <td style="text-align:center;">主标题</td>
              </tr>
              <tr>
                <td style="text-align:center;">subtitle</td>
                <td style="text-align:center;">副标题</td>
              </tr>
            </tbody>
          </table>
          <table>
            <thead>
              <tr>
                <th style="text-align:center;">属性名</th>
                <th style="text-align:center;">说明</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td style="text-align:center;">clear</td>
                <td style="text-align:center;">清除当前所有标题</td>
              </tr>
              <tr>
                <td style="text-align:center;">reset</td>
                <td style="text-align:center;">重置标题设置</td>
              </tr>
            </tbody>
          </table>
          <table>
            <thead>
              <tr>
                <th style="text-align:center;">属性名</th>
                <th style="text-align:center;">说明</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td style="text-align:center;">times</td>
                <td style="text-align:center;">标题淡入淡出和显示时长</td>
              </tr>
            </tbody>
          </table>
          <p><a href="#json%E6%96%87%E6%9C%AC">Json文本</a></p>
          <h3 id="命令举例-2" tabindex="-1"><a class="header-anchor" href="#命令举例-2" aria-hidden="true">#</a> 命令举例</h3>
          <p>如果要显示一段标题为<code>大大</code>那么命令是</p>
          <p><code>/title @a title [{&quot;text&quot;:&quot;大大&quot;}]</code></p>
          <p>或者使用【格式化】格式</p>
          <p><code>/title @a title [&quot;大大&quot;]</code></p>
          <p>显示计分板数据在物品栏上方</p>
          <p><code>/title @a times 0 1 0 </code></p>
          <p>
            <code>/title @a actionbar [{&quot;score&quot;:{&quot;objective&quot;:&quot;计分板名称&quot;,&quot;name&quot;:&quot;玩家&quot;}]</code>
          </p>
          <p>显示一个蓝色的标题</p>
          <p><code>/title @a title [{&quot;text&quot;:&quot;文本&quot;,&quot;color&quot;:&quot;blue&quot;}]</code></p>
          <p>无【格式化】格式</p>
          <h3 id="小知识-2" tabindex="-1"><a class="header-anchor" href="#小知识-2" aria-hidden="true">#</a> 小知识</h3>
          <p>标题是不支持【鼠标点击】与【鼠标停留】事件的</p>
          <hr>
          <h2 id="tellraw" tabindex="-1"><a class="header-anchor" href="#tellraw" aria-hidden="true">#</a>
            <code>/tellraw</code>
          </h2>
          <h3 id="命令解释-1" tabindex="-1"><a class="header-anchor" href="#命令解释-1" aria-hidden="true">#</a> 命令解释</h3>
          <h4 id="显示文本" tabindex="-1"><a class="header-anchor" href="#显示文本" aria-hidden="true">#</a> 显示文本</h4>
          <h3 id="语法-2" tabindex="-1"><a class="header-anchor" href="#语法-2" aria-hidden="true">#</a> 语法</h3>
          <p><code>/tellraw &lt;玩家&gt; &lt;Json文本&gt;</code></p>
          <h3 id="名词解释-5" tabindex="-1"><a class="header-anchor" href="#名词解释-5" aria-hidden="true">#</a> 名词解释</h3>
          <p><a href="#json%E6%96%87%E6%9C%AC">Json文本</a></p>
          <h3 id="命令举例-3" tabindex="-1"><a class="header-anchor" href="#命令举例-3" aria-hidden="true">#</a> 命令举例</h3>
          <p>输出一段文本为<code>大大！大大！</code> 指令如下</p>
          <p><code>/tellraw &lt;玩家&gt; [{&quot;text&quot;:&quot;大大！大大！&quot;}]</code></p>
          <p><code>/tellraw &lt;玩家&gt; [&quot;大大！大大！&quot;]</code></p>
          <hr>
          <h2 id="testfor" tabindex="-1"><a class="header-anchor" href="#testfor" aria-hidden="true">#</a>
            <code>/testfor</code>
          </h2>
          <p>配合循环型命令方块使用</p>
          <h3 id="命令解释-2" tabindex="-1"><a class="header-anchor" href="#命令解释-2" aria-hidden="true">#</a> 命令解释</h3>
          <p>检测..到</p>
          <h3 id="格式" tabindex="-1"><a class="header-anchor" href="#格式" aria-hidden="true">#</a> 格式</h3>
          <p><code>/testfor &lt;玩家&gt; &lt;实体NBT&gt;</code></p>
          <h3 id="命令举例-4" tabindex="-1"><a class="header-anchor" href="#命令举例-4" aria-hidden="true">#</a> 命令举例</h3>
          <p>检测半径2的附近是否有玩家</p>
          <p><code>/testfor @a[r=2]</code></p>
          <p>检测坐标 1 5 1中心位置是否有玩家</p>
          <p><code>/testfor @a[x=1,y=5,z=1,r=1]</code></p>
          <h3 id="小知识-3" tabindex="-1"><a class="header-anchor" href="#小知识-3" aria-hidden="true">#</a> 小知识</h3>
          <p>
            放置一个【循环型命令方块】来循环执行<code>/testfor</code>检测，放一个【比较器】来输出红石信号，两个红石火把的朝循环命令方块，在比较器另一边放【命令方块】红石信号触发执行的<code>命令</code>
          </p>
          <hr>
          <h2 id="execute" tabindex="-1"><a class="header-anchor" href="#execute" aria-hidden="true">#</a>
            <code>/execute</code>
          </h2>
          <h3 id="命令解释-3" tabindex="-1"><a class="header-anchor" href="#命令解释-3" aria-hidden="true">#</a> 命令解释</h3>
          <h4 id="检测并执行" tabindex="-1"><a class="header-anchor" href="#检测并执行" aria-hidden="true">#</a> 检测并执行</h4>
          <h3 id="语法-3" tabindex="-1"><a class="header-anchor" href="#语法-3" aria-hidden="true">#</a> 语法</h3>
          <p><code>/execute &lt;玩家&gt; &lt;x y z&gt; &lt;命令&gt;</code></p>
          <p><code>/execute &lt;玩家&gt; &lt;x y z&gt; detect &lt;x y z&gt; &lt;方块&gt; &lt;数据值&gt; &lt;命令&gt; </code></p>
          <h3 id="名词解释-6" tabindex="-1"><a class="header-anchor" href="#名词解释-6" aria-hidden="true">#</a> 名词解释</h3>
          <table>
            <thead>
              <tr>
                <th style="text-align:center;">属性名</th>
                <th style="text-align:center;">说明</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td style="text-align:center;">detect</td>
                <td style="text-align:center;">发现</td>
              </tr>
            </tbody>
          </table>
          <h3 id="大大讲解" tabindex="-1"><a class="header-anchor" href="#大大讲解" aria-hidden="true">#</a> 大大讲解</h3>
          <p>本指令比较复杂，这里直接复制大大描述的</p>
          <p>核心命令</p>
          <p>首先说<code>&lt;x y z&gt;</code>是指execute指令的执行坐标 玩家则代表执行人</p>
          <p>如/execute Y_DaDa 0 10 0 命令 意思是让Y_DaDa执行一条命令 但是命令的 执行坐标在0 10 0 相当于Y_DaDa站在0 10 0 执行命令 但是Y_DaDa可以在 任何位置</p>
          <p>/execute Y_DaDa ~ ~ ~ 命令 则就是Y_DaDa所处的坐标</p>
          <p>那么x y z呢 是另外一个单列出的坐标 但是可以在x y z的加持下做出改变</p>
          <p>如/execute Y_DaDa 0 10 0 detect 0 10 0 air 0 命令</p>
          <p>代表由Y_DaDa在0 10 0 检测 0 10 0 的方块是否为数据值为0的空气 如果判断为是则执行命令</p>
          <p>/execute Y_DaDa ~ ~ ~ detect ~ ~ ~ air 0 命令</p>
          <p>代表由Y_DaDa 在自己所处的位置 检测 自己所处的方块是否为数据值为0的空气 如果判断为是则执行命令</p>
          <p>这个可以应用于检测脚下方块是否为某一种 然后利用比较器输出信号</p>
          <p>/execute @a ~ ~ ~ detect ~ ~-1 ~ grass 0 kill @p</p>
          <p>检测各个玩家脚下的方块是否为草方块 如果是就杀掉该玩家</p>
          <p>比较有趣的是execute可以无限月读</p>
          <p>比如/execute @a ~ ~ ~ execute @e ~ ~ ~ execute @s ~ ~ ~ kill @s</p>
          <p>就是让每个玩家执行：让每个实体执行：让自己执行：自杀</p>
          <p>利用选择器和NBT标签可以做出极强的效果</p>
          <h3 id="小知识-4" tabindex="-1"><a class="header-anchor" href="#小知识-4" aria-hidden="true">#</a> 小知识</h3>
          <p>execute 比 testfor好用，这也在之后1.13后续版本删除了testfor类型的指令</p>
          <h2 id="function" tabindex="-1"><a class="header-anchor" href="#function" aria-hidden="true">#</a>
            <code>/function</code>
          </h2>
          <h3 id="命令解释-4" tabindex="-1"><a class="header-anchor" href="#命令解释-4" aria-hidden="true">#</a> 命令解释</h3>
          <h4 id="函数-1" tabindex="-1"><a class="header-anchor" href="#函数-1" aria-hidden="true">#</a> 函数</h4>
          <p>相关指令：<a href="#reload"><code>/reload</code></a></p>
          <h3 id="语法-4" tabindex="-1"><a class="header-anchor" href="#语法-4" aria-hidden="true">#</a> 语法</h3>
          <p><code>/function &lt;函数名&gt;</code></p>
          <h3 id="名词解释-7" tabindex="-1"><a class="header-anchor" href="#名词解释-7" aria-hidden="true">#</a> 名词解释</h3>
          <p><a href="#%E5%87%BD%E6%95%B0">函数</a></p>
          <h3 id="举例-1" tabindex="-1"><a class="header-anchor" href="#举例-1" aria-hidden="true">#</a> 举例</h3>
          <p>一个函数/脚本名称为<code>Dada</code>在一个叫<code>mc</code>的文件夹里 指令如下</p>
          <p><code>/function mc:dada</code></p>
          <hr>
          <h2 id="reload" tabindex="-1"><a class="header-anchor" href="#reload" aria-hidden="true">#</a>
            <code>/reload</code>
          </h2>
          <h3 id="命令解释-5" tabindex="-1"><a class="header-anchor" href="#命令解释-5" aria-hidden="true">#</a> 命令解释</h3>
          <h4 id="刷新函数-成就和战利品表-掉落物" tabindex="-1"><a class="header-anchor" href="#刷新函数-成就和战利品表-掉落物"
              aria-hidden="true">#</a> 刷新函数 成就和战利品表（掉落物）</h4>
          <h3 id="语法-5" tabindex="-1"><a class="header-anchor" href="#语法-5" aria-hidden="true">#</a> 语法</h3>
          <p><code>/reload</code></p>
          <h3 id="举例-2" tabindex="-1"><a class="header-anchor" href="#举例-2" aria-hidden="true">#</a> 举例</h3>
          <p>刷新函数</p>
          <p><code>/reload</code></p>
          <h3 id="小知识-5" tabindex="-1"><a class="header-anchor" href="#小知识-5" aria-hidden="true">#</a> 小知识</h3>
          <p>在游戏进行中，新建的函数，游戏是不会自动刷新的，也就是说，他不会随着你的更改而更改</p>
          <p>需要手动执行刷新</p>
          <hr>
          <h2 id="particle" tabindex="-1"><a class="header-anchor" href="#particle" aria-hidden="true">#</a>
            <code>/particle</code>
          </h2>
          <h3 id="命令解释-6" tabindex="-1"><a class="header-anchor" href="#命令解释-6" aria-hidden="true">#</a> 命令解释</h3>
          <h4 id="粒子" tabindex="-1"><a class="header-anchor" href="#粒子" aria-hidden="true">#</a> 粒子</h4>
          <h3 id="语法-6" tabindex="-1"><a class="header-anchor" href="#语法-6" aria-hidden="true">#</a> 语法</h3>
          <p>
            <code>/particle &lt;粒子名称&gt; &lt;x y z&gt; &lt;xd yd zd&gt; &lt;速度&gt; &lt;数量&gt; &lt;normal|force&gt; &lt;玩家&gt;</code>
          </p>
          <h3 id="名词解释-8" tabindex="-1"><a class="header-anchor" href="#名词解释-8" aria-hidden="true">#</a> 名词解释</h3>
          <h4 id="数据类型-1" tabindex="-1"><a class="header-anchor" href="#数据类型-1" aria-hidden="true">#</a> 数据类型</h4>
          <table>
            <thead>
              <tr>
                <th style="text-align:center;">属性名</th>
                <th style="text-align:center;">数据类型</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td style="text-align:center;">粒子名称</td>
                <td style="text-align:center;">string 字符串</td>
              </tr>
              <tr>
                <td style="text-align:center;">xd yd zd</td>
                <td style="text-align:center;">float 小数浮点</td>
              </tr>
              <tr>
                <td style="text-align:center;">速度</td>
                <td style="text-align:center;">int 整数</td>
              </tr>
              <tr>
                <td style="text-align:center;">数量</td>
                <td style="text-align:center;">float 小数浮点</td>
              </tr>
            </tbody>
          </table>
          <p>normal 不执行force</p>
          <p>force 强制突破粒子显示距离32格强制显示</p>
          <h4 id="粒子名称" tabindex="-1"><a class="header-anchor" href="#粒子名称" aria-hidden="true">#</a> 粒子名称</h4>
          <p>这不太好讲，因为这并不能描述出来，必须得你直观的看到</p>
          <table>
            <thead>
              <tr>
                <th style="text-align:center;">粒子名称</th>
                <th style="text-align:center;">效果</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td style="text-align:center;">explode</td>
                <td style="text-align:center;">爆炸</td>
              </tr>
              <tr>
                <td style="text-align:center;">largeexplode</td>
                <td style="text-align:center;">大型爆炸</td>
              </tr>
              <tr>
                <td style="text-align:center;">hugeexplosion</td>
                <td style="text-align:center;">巨型爆炸</td>
              </tr>
              <tr>
                <td style="text-align:center;">fireworksSpark</td>
                <td style="text-align:center;">烟花颗粒</td>
              </tr>
              <tr>
                <td style="text-align:center;">bubble</td>
                <td style="text-align:center;">水中气泡</td>
              </tr>
              <tr>
                <td style="text-align:center;">splash</td>
                <td style="text-align:center;">喷溅水花</td>
              </tr>
              <tr>
                <td style="text-align:center;">wake</td>
                <td style="text-align:center;">水中波纹</td>
              </tr>
              <tr>
                <td style="text-align:center;">suspended</td>
                <td style="text-align:center;">水中颗粒</td>
              </tr>
              <tr>
                <td style="text-align:center;">depthsuspend</td>
                <td style="text-align:center;">虚空颗粒</td>
              </tr>
              <tr>
                <td style="text-align:center;">crit</td>
                <td style="text-align:center;">物理暴击</td>
              </tr>
              <tr>
                <td style="text-align:center;">magicCrit</td>
                <td style="text-align:center;">魔法暴击</td>
              </tr>
              <tr>
                <td style="text-align:center;">smoke</td>
                <td style="text-align:center;">黑烟</td>
              </tr>
              <tr>
                <td style="text-align:center;">largesmoke</td>
                <td style="text-align:center;">大型黑烟</td>
              </tr>
              <tr>
                <td style="text-align:center;">spell</td>
                <td style="text-align:center;">持续药水颗粒</td>
              </tr>
              <tr>
                <td style="text-align:center;">instantSpell</td>
                <td style="text-align:center;">瞬间药水颗粒</td>
              </tr>
              <tr>
                <td style="text-align:center;">mobSpell</td>
                <td style="text-align:center;">状态效果颗粒</td>
              </tr>
              <tr>
                <td style="text-align:center;">mobSpellAmbient</td>
                <td style="text-align:center;">信标效果</td>
              </tr>
              <tr>
                <td style="text-align:center;">witchMagic</td>
                <td style="text-align:center;">女巫颗粒</td>
              </tr>
              <tr>
                <td style="text-align:center;">dripWater</td>
                <td style="text-align:center;">方块渗水</td>
              </tr>
              <tr>
                <td style="text-align:center;">dripLava</td>
                <td style="text-align:center;">方块渗岩浆</td>
              </tr>
              <tr>
                <td style="text-align:center;">angryVillager</td>
                <td style="text-align:center;">愤怒的村民</td>
              </tr>
              <tr>
                <td style="text-align:center;">happyVillager</td>
                <td style="text-align:center;">开心的村民</td>
              </tr>
              <tr>
                <td style="text-align:center;">townaura</td>
                <td style="text-align:center;">菌丝颗粒</td>
              </tr>
              <tr>
                <td style="text-align:center;">note</td>
                <td style="text-align:center;">音符</td>
              </tr>
              <tr>
                <td style="text-align:center;">portal</td>
                <td style="text-align:center;">地狱传送门颗粒</td>
              </tr>
              <tr>
                <td style="text-align:center;">enchantmenttable</td>
                <td style="text-align:center;">附魔台文字</td>
              </tr>
              <tr>
                <td style="text-align:center;">flame</td>
                <td style="text-align:center;">火苗颗粒</td>
              </tr>
              <tr>
                <td style="text-align:center;">lava</td>
                <td style="text-align:center;">岩浆颗粒</td>
              </tr>
              <tr>
                <td style="text-align:center;">footstep</td>
                <td style="text-align:center;">脚印</td>
              </tr>
              <tr>
                <td style="text-align:center;">reddust</td>
                <td style="text-align:center;">红石充能颗粒</td>
              </tr>
              <tr>
                <td style="text-align:center;">snowballpoof</td>
                <td style="text-align:center;">雪球颗粒</td>
              </tr>
              <tr>
                <td style="text-align:center;">slime</td>
                <td style="text-align:center;">史莱姆颗粒</td>
              </tr>
              <tr>
                <td style="text-align:center;">heart</td>
                <td style="text-align:center;">爱心</td>
              </tr>
              <tr>
                <td style="text-align:center;">barrier</td>
                <td style="text-align:center;">屏障</td>
              </tr>
              <tr>
                <td style="text-align:center;">cloud</td>
                <td style="text-align:center;">云朵</td>
              </tr>
              <tr>
                <td style="text-align:center;">snowshovel</td>
                <td style="text-align:center;">雪傀儡生成颗粒</td>
              </tr>
              <tr>
                <td style="text-align:center;">droplet</td>
                <td style="text-align:center;">下雨颗粒</td>
              </tr>
              <tr>
                <td style="text-align:center;">mobappearance</td>
                <td style="text-align:center;">远古守卫者注视效果</td>
              </tr>
              <tr>
                <td style="text-align:center;">endRod</td>
                <td style="text-align:center;">末地烛颗粒</td>
              </tr>
              <tr>
                <td style="text-align:center;">dragonbreath</td>
                <td style="text-align:center;">末影龙吐息颗粒</td>
              </tr>
              <tr>
                <td style="text-align:center;">damageIndicator</td>
                <td style="text-align:center;">玩家造成伤害效果</td>
              </tr>
              <tr>
                <td style="text-align:center;">sweepAttack</td>
                <td style="text-align:center;">剑风</td>
              </tr>
              <tr>
                <td style="text-align:center;">fallingdust</td>
                <td style="text-align:center;">落沙</td>
              </tr>
              <tr>
                <td style="text-align:center;">blockcrack</td>
                <td style="text-align:center;">摧毁方块颗粒</td>
              </tr>
              <tr>
                <td style="text-align:center;">blockdust</td>
                <td style="text-align:center;">低落颗粒</td>
              </tr>
              <tr>
                <td style="text-align:center;">spit</td>
                <td style="text-align:center;">羊驼攻击，口水颗粒</td>
              </tr>
              <tr>
                <td style="text-align:center;">totem</td>
                <td style="text-align:center;">不死图腾效果</td>
              </tr>
            </tbody>
          </table>
          <p>效果图可前往下方引用百科查看</p>
          <h3 id="命令举例-5" tabindex="-1"><a class="header-anchor" href="#命令举例-5" aria-hidden="true">#</a> 命令举例</h3>
          <p>生成一个【爆炸】粒子在当前位置</p>
          <p><code>/particle explode ~ ~ ~ 0 0 0 1 1 force @a </code></p>
          <h3 id="引用-5" tabindex="-1"><a class="header-anchor" href="#引用-5" aria-hidden="true">#</a> 引用</h3>
          <p><a href="https://minecraft.fandom.com/zh/wiki/%E7%B2%92%E5%AD%90" target="_blank"
              rel="noopener noreferrer">Wiki百科-粒子<span><svg class="external-link-icon"
                  xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px"
                  viewBox="0 0 100 100" width="15" height="15">
                  <path fill="currentColor"
                    d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z">
                  </path>
                  <polygon fill="currentColor"
                    points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9">
                  </polygon>
                </svg><span class="external-link-icon-sr-only">open in new window</span></span></a></p>
          <hr>
          <h2 id="replaceitem" tabindex="-1"><a class="header-anchor" href="#replaceitem" aria-hidden="true">#</a>
            <code>/replaceitem</code>
          </h2>
          <h3 id="命令解释-7" tabindex="-1"><a class="header-anchor" href="#命令解释-7" aria-hidden="true">#</a> 命令解释</h3>
          <h4 id="替换物品" tabindex="-1"><a class="header-anchor" href="#替换物品" aria-hidden="true">#</a> 替换物品</h4>
          <h3 id="格式-1" tabindex="-1"><a class="header-anchor" href="#格式-1" aria-hidden="true">#</a> 格式</h3>
          <p><code>/replaceitem entity &lt;玩家&gt; &lt;位置&gt; &lt;物品名&gt; &lt;数量&gt; &lt;数据&gt; &lt;物品NBT&gt;</code></p>
          <p><code>/replaceitem block &lt;x y z&gt; &lt;位置&gt; &lt;物品名&gt; &lt;数量&gt; &lt;数据&gt; &lt;物品NBT&gt; </code>
          </p>
          <h3 id="名词解释-9" tabindex="-1"><a class="header-anchor" href="#名词解释-9" aria-hidden="true">#</a> 名词解释</h3>
          <h4 id="数据类型-格式1" tabindex="-1"><a class="header-anchor" href="#数据类型-格式1" aria-hidden="true">#</a> 数据类型-格式1
          </h4>
          <table>
            <thead>
              <tr>
                <th style="text-align:center;">属性名</th>
                <th style="text-align:center;">数据类型</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td style="text-align:center;">玩家</td>
                <td style="text-align:center;">目标选择器</td>
              </tr>
              <tr>
                <td style="text-align:center;">位置</td>
                <td style="text-align:center;">string 字符型</td>
              </tr>
              <tr>
                <td style="text-align:center;">物品名</td>
                <td style="text-align:center;">string 字符型</td>
              </tr>
              <tr>
                <td style="text-align:center;">数量</td>
                <td style="text-align:center;">int 整数型</td>
              </tr>
              <tr>
                <td style="text-align:center;">数据</td>
                <td style="text-align:center;">int 整数型</td>
              </tr>
              <tr>
                <td style="text-align:center;">物品栏NBT</td>
                <td style="text-align:center;">SNBT</td>
              </tr>
            </tbody>
          </table>
          <h4 id="数据类型-格式2" tabindex="-1"><a class="header-anchor" href="#数据类型-格式2" aria-hidden="true">#</a> 数据类型-格式2
          </h4>
          <table>
            <thead>
              <tr>
                <th style="text-align:center;">属性名</th>
                <th style="text-align:center;">数据类型</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td style="text-align:center;">x y z</td>
                <td style="text-align:center;">float 小数型</td>
              </tr>
              <tr>
                <td style="text-align:center;">位置</td>
                <td style="text-align:center;">string 字符型</td>
              </tr>
              <tr>
                <td style="text-align:center;">物品名</td>
                <td style="text-align:center;">string 字符型</td>
              </tr>
              <tr>
                <td style="text-align:center;">数量</td>
                <td style="text-align:center;">int 整数型</td>
              </tr>
              <tr>
                <td style="text-align:center;">数据</td>
                <td style="text-align:center;">int 整数型</td>
              </tr>
              <tr>
                <td style="text-align:center;">物品NBT</td>
                <td style="text-align:center;">SNBT</td>
              </tr>
            </tbody>
          </table>
          <h4 id="位置" tabindex="-1"><a class="header-anchor" href="#位置" aria-hidden="true">#</a> 位置</h4>
          <p>Entity（实体的某个位置的物品） 目标位置</p>
          <p>Block（方块的某个格子的物品） x y z 目标位置</p>
          <figure><img src="https://img.cdn.tencent-qq.cn/Yize/2023/05/88416e504d9bbcb0.png" alt="88416e504d9bbcb0.png"
              tabindex="0" loading="lazy">
            <figcaption>88416e504d9bbcb0.png</figcaption>
          </figure>
          <h3 id="命令举例-6" tabindex="-1"><a class="header-anchor" href="#命令举例-6" aria-hidden="true">#</a> 命令举例</h3>
          <p>替换粘液块至附近玩家的头</p>
          <p><code>/replaceitem entity @p slot.armor.head minecraft:slime 1 0</code></p>
          <hr>
          <h2 id="scoreboard" tabindex="-1"><a class="header-anchor" href="#scoreboard" aria-hidden="true">#</a>
            <code>/scoreboard</code>
          </h2>
          <h3 id="前言" tabindex="-1"><a class="header-anchor" href="#前言" aria-hidden="true">#</a> 前言</h3>
          <p>因为此命令比较复杂，所以前面基础篇教了死亡榜的创建，现在让我们来了解一下它吧</p>
          <h3 id="计分板" tabindex="-1"><a class="header-anchor" href="#计分板" aria-hidden="true">#</a> 计分板</h3>
          <h4 id="创建" tabindex="-1"><a class="header-anchor" href="#创建" aria-hidden="true">#</a> 创建</h4>
          <h5 id="语法-7" tabindex="-1"><a class="header-anchor" href="#语法-7" aria-hidden="true">#</a> 语法</h5>
          <p><code>/scoreboard objectives &lt;add|list|remove|setdisplay&gt;</code></p>
          <p><code>/scoreboard objectives add &lt;计分板名&gt; &lt;计分板类型&gt; &lt;显示的计分板名称&gt;</code></p>
          <p><code>/scoreboard objectives remove &lt;计分板名&gt;</code></p>
          <p><code>/scoreboard objectives setdisplay &lt;类型&gt; &lt;计分板名&gt; </code></p>
          <h5 id="数据类型-2" tabindex="-1"><a class="header-anchor" href="#数据类型-2" aria-hidden="true">#</a> 数据类型</h5>
          <table>
            <thead>
              <tr>
                <th style="text-align:center;">属性名</th>
                <th style="text-align:center;">数据类型</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td style="text-align:center;">&lt;计分板名&gt;</td>
                <td style="text-align:center;">string 整数型</td>
              </tr>
              <tr>
                <td style="text-align:center;">&lt;计分板类型&gt;</td>
                <td style="text-align:center;">string 整数型</td>
              </tr>
              <tr>
                <td style="text-align:center;">&lt;显示的计分板名称&gt;</td>
                <td style="text-align:center;">string 整数型 | json文本</td>
              </tr>
              <tr>
                <td style="text-align:center;">&lt;类型&gt;</td>
                <td style="text-align:center;">string 整数型</td>
              </tr>
            </tbody>
          </table>
          <h5 id="名词解释-10" tabindex="-1"><a class="header-anchor" href="#名词解释-10" aria-hidden="true">#</a> 名词解释</h5>
          <table>
            <thead>
              <tr>
                <th style="text-align:center;">属性名</th>
                <th style="text-align:center;">说明</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td style="text-align:center;">add</td>
                <td style="text-align:center;">添加计分板</td>
              </tr>
              <tr>
                <td style="text-align:center;">list</td>
                <td style="text-align:center;">计分板列表</td>
              </tr>
              <tr>
                <td style="text-align:center;">remove</td>
                <td style="text-align:center;">删除计分板</td>
              </tr>
              <tr>
                <td style="text-align:center;">setdisplay</td>
                <td style="text-align:center;">设置计分板的显示位置</td>
              </tr>
            </tbody>
          </table>
          <p>计分板类型</p>
          <figure><img src="https://img.cdn.tencent-qq.cn/Yize/2023/05/79dc5ea6d84948b9.png" alt="79dc5ea6d84948b9.png"
              tabindex="0" loading="lazy">
            <figcaption>79dc5ea6d84948b9.png</figcaption>
          </figure>
          <figure><img src="https://img.cdn.tencent-qq.cn/Yize/2023/05/5002f56e09ea2bbb.png" alt="5002f56e09ea2bbb.png"
              tabindex="0" loading="lazy">
            <figcaption>5002f56e09ea2bbb.png</figcaption>
          </figure>
          <p>单一准则无需详述 这里详细说一下图2中minecraft.后的内容</p>
          <p>这个表格对1.13进行了修改所以语法不同</p>
          <p>格式统一 不同类型代表对物品的动作</p>
          <p>在游戏内是以stat.xxx出现</p>
          <p>如stat.usedItem.minecraft.stone_pickaxe</p>
          <p>就是使用石稿的次数 其他同理</p>
          <p>Stat.mineBlock.minecraft.stone</p>
          <p>是挖掘石头的数量</p>
          <p>Stat.killEntity.Zombie</p>
          <p>则是杀死僵尸的数量</p>
          <p>类型</p>
          <table>
            <thead>
              <tr>
                <th style="text-align:center;">类型名</th>
                <th style="text-align:center;">说明</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td style="text-align:center;">belowName</td>
                <td style="text-align:center;">名字下显示</td>
              </tr>
              <tr>
                <td style="text-align:center;">list</td>
                <td style="text-align:center;">Tab列表显示</td>
              </tr>
              <tr>
                <td style="text-align:center;">sidebar</td>
                <td style="text-align:center;">右侧栏显示</td>
              </tr>
              <tr>
                <td style="text-align:center;">Sidebar.team.&lt;颜色&gt;</td>
                <td style="text-align:center;">某颜色队伍的专属右侧显示</td>
              </tr>
            </tbody>
          </table>
          <h5 id="命令举例-7" tabindex="-1"><a class="header-anchor" href="#命令举例-7" aria-hidden="true">#</a> 命令举例</h5>
          <p>创建一个计分板名称为<code>dada</code>显示名称为<code>大大</code>的<code>dummy</code>类型的计分板 指令如下</p>
          <p><code>/scoreboard objectives add dada dummy 大大</code></p>
          <p>显示一个名为<code>dada</code>的计分板到右侧栏</p>
          <p><code>/scoreboard objectives setdisplay sidebar dada</code></p>
          <p>重置显示的计分板</p>
          <p><code>/scoreboard objectives setdisplay</code></p>
          <h4 id="玩家" tabindex="-1"><a class="header-anchor" href="#玩家" aria-hidden="true">#</a> 玩家</h4>
          <h5 id="语法-8" tabindex="-1"><a class="header-anchor" href="#语法-8" aria-hidden="true">#</a> 语法</h5>
          <p><code>/scoreboad players &lt;add|enable|list|operation|remove|reset|set|test&gt;</code></p>
          <p><code>/scoreboard players add &lt;玩家&gt; &lt;计分板名&gt; &lt;数值&gt;</code></p>
          <p><code>/scoreboard players enable &lt;玩家&gt;</code></p>
          <p><code>/scoreboard players list</code></p>
          <p><code>/scoreboard players operation &lt;计分板&gt; &lt;玩家&gt; &lt;运算符&gt; &lt;玩家&gt; &lt;计分板2&gt; </code></p>
          <p><code>/scoreboard players remove &lt;玩家&gt; &lt;计分板名&gt; &lt;数值&gt;</code></p>
          <p><code>/scoreboard players reset &lt;玩家&gt; &lt;计分板(可选)&gt;</code></p>
          <p><code>/scoreboard players set &lt;玩家&gt; &lt;计分板&gt; &lt;数值&gt;</code></p>
          <p><code>/scorebord players test &lt;玩家&gt; &lt;计分板&gt; &lt;最小值&gt; &lt;最大值&gt;</code></p>
          <h5 id="名词解释-11" tabindex="-1"><a class="header-anchor" href="#名词解释-11" aria-hidden="true">#</a> 名词解释</h5>
          <h5 id="运算符" tabindex="-1"><a class="header-anchor" href="#运算符" aria-hidden="true">#</a> 运算符</h5>
          <div class="language-运算符 line-numbers-mode" data-ext="运算符">
            <pre class="language-运算符"><code>+= 求和：把选择器的分数加到目标名称的分数上。
-= 求差：在目标名称的分数上减去选择器的分数。
*= 求积：将目标名称的分数设为目标名称的分数与选择器分数的乘积。
/= 求商：将目标名称的分数设为被选择器的分数除后的结果。
%= 取余：将目标名称的分数设为被选择器的分数除后得到的余数。
= 赋值：把目标名称的分数设为选择器的分数。
&lt; 取较小值：如果选择器的分数比目标名称的分数小，则把目标名称的分数设为选择器的分数。
&gt; 取较大值：如果选择器的分数比目标名称的分数大，则把目标名称的分数设为选择器的分数。
&gt;&lt; 交换选择器与目标名称的分数。 除&gt;&lt;外，选择器在记分项上的分数会保持不变。
</code></pre>
            <div class="line-numbers" aria-hidden="true">
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
              <div class="line-number"></div>
            </div>
          </div>
          <h4 id="命令举例-8" tabindex="-1"><a class="header-anchor" href="#命令举例-8" aria-hidden="true">#</a> 命令举例</h4>
          <p>设置附近玩家的<code>dada</code>计分板的分数为0</p>
          <p><code>/scoreboard players set @p dada 0</code></p>
          <h3 id="队伍" tabindex="-1"><a class="header-anchor" href="#队伍" aria-hidden="true">#</a> 队伍</h3>
          <h5 id="语法-9" tabindex="-1"><a class="header-anchor" href="#语法-9" aria-hidden="true">#</a> 语法</h5>
          <p><code>/scoreboard teams &lt;add|empty|list|join|leave|option|remove&gt;</code></p>
          <p><code>/scoreboard teams add &lt;队伍名&gt;</code></p>
          <p><code>/scoreboard teams empty &lt;队伍名&gt;</code></p>
          <p><code>/scoreboard teams list</code></p>
          <p><code>/scoreboard team join &lt;队伍名&gt; &lt;玩家&gt;</code></p>
          <p><code>/scoreboard teams leave &lt;玩家&gt;</code></p>
          <p><code>/scoreboard teams option &lt;队伍名&gt; &lt;选项&gt;</code></p>
          <p><code>/scoreboard teams remove &lt;队伍名&gt;</code></p>
          <h5 id="名词解释-12" tabindex="-1"><a class="header-anchor" href="#名词解释-12" aria-hidden="true">#</a> 名词解释</h5>
          <table>
            <thead>
              <tr>
                <th style="text-align:center;">属性名</th>
                <th style="text-align:center;">说明</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td style="text-align:center;">add</td>
                <td style="text-align:center;">添加队伍</td>
              </tr>
              <tr>
                <td style="text-align:center;">empty</td>
                <td style="text-align:center;">清空某个队伍</td>
              </tr>
              <tr>
                <td style="text-align:center;">list</td>
                <td style="text-align:center;">队伍列表</td>
              </tr>
              <tr>
                <td style="text-align:center;">join</td>
                <td style="text-align:center;">玩家加入队伍</td>
              </tr>
              <tr>
                <td style="text-align:center;">leave</td>
                <td style="text-align:center;">玩家离开队伍</td>
              </tr>
              <tr>
                <td style="text-align:center;">option</td>
                <td style="text-align:center;">队伍设置</td>
              </tr>
              <tr>
                <td style="text-align:center;">remove</td>
                <td style="text-align:center;">删除队伍</td>
              </tr>
            </tbody>
          </table><!---->
          <table>
            <thead>
              <tr>
                <th style="text-align:center;">选项名</th>
                <th style="text-align:center;">说明</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td style="text-align:center;">friendlyfire</td>
                <td style="text-align:center;">队伤</td>
              </tr>
              <tr>
                <td style="text-align:center;">color</td>
                <td style="text-align:center;">队伍显示的颜色</td>
              </tr>
              <tr>
                <td style="text-align:center;">seeFriendlyInvisibles</td>
                <td style="text-align:center;">是否可以看到隐形的队友</td>
              </tr>
              <tr>
                <td style="text-align:center;">nametagVisibility</td>
                <td style="text-align:center;">名字显示</td>
              </tr>
              <tr>
                <td style="text-align:center;">deathmessageVisibility</td>
                <td style="text-align:center;">死亡信息显示</td>
              </tr>
              <tr>
                <td style="text-align:center;">collisionrule</td>
                <td style="text-align:center;">队伍碰撞</td>
              </tr>
            </tbody>
          </table>
          <h5 id="命令举例-9" tabindex="-1"><a class="header-anchor" href="#命令举例-9" aria-hidden="true">#</a> 命令举例</h5>
          <p>创建一个队伍名为<code>blue</code></p>
          <p><code>/scoreboard teams add blue</code></p>
          <p>把这个队伍改为蓝色</p>
          <p><code>/scoreboard teams blue option color blue</code></p>
          <p>把附近的玩家都加入这个队伍</p>
          <p><code>/scoreboard teams join blue @p</code></p>
          <p>把自己移除队伍</p>
          <p><code>/scoreboard teams leave</code></p>
          <h3 id="标签" tabindex="-1"><a class="header-anchor" href="#标签" aria-hidden="true">#</a> 标签</h3>
          <h5 id="语法-10" tabindex="-1"><a class="header-anchor" href="#语法-10" aria-hidden="true">#</a> 语法</h5>
          <p><code>/scoreboard player tag &lt;玩家&gt; &lt;add|remove|list&gt;</code></p>
          <p><code>/scoreboard player tag &lt;玩家&gt; add &lt;标签名&gt; &lt;实体NBT&gt;</code></p>
          <p><code>/scoreboard player tag &lt;玩家&gt; remove &lt;标签名&gt; &lt;实体NBT&gt;</code></p>
          <p><code>/scoreboard player tag &lt;玩家&gt; list &lt;标签名&gt;</code></p>
          <h5 id="名词解释-13" tabindex="-1"><a class="header-anchor" href="#名词解释-13" aria-hidden="true">#</a> 名词解释</h5>
          <table>
            <thead>
              <tr>
                <th style="text-align:center;">属性名</th>
                <th style="text-align:center;">说明</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td style="text-align:center;">add</td>
                <td style="text-align:center;">添加标签</td>
              </tr>
              <tr>
                <td style="text-align:center;">remove</td>
                <td style="text-align:center;">删除标签</td>
              </tr>
              <tr>
                <td style="text-align:center;">list</td>
                <td style="text-align:center;">显示标签列表</td>
              </tr>
            </tbody>
          </table>
          <p><a href="#%E5%AE%9E%E4%BD%93nbt">实体NBT</a></p>
          <h5 id="命令举例-10" tabindex="-1"><a class="header-anchor" href="#命令举例-10" aria-hidden="true">#</a> 命令举例</h5>
          <p>给自己添加一个名为<code>dada</code>的标签</p>
          <p><code>/scoreboard players tag @s add dada</code></p>
          <h3 id="小知识-6" tabindex="-1"><a class="header-anchor" href="#小知识-6" aria-hidden="true">#</a> 小知识</h3>
          <p>计分板，标签和队伍都是目标选择器的选项，添加的名称都为数据名</p>
          <hr><!---->
          <h2 id="blockdata" tabindex="-1"><a class="header-anchor" href="#blockdata" aria-hidden="true">#</a>
            <code>/blockdata</code>
          </h2>
          <h3 id="命令解释-8" tabindex="-1"><a class="header-anchor" href="#命令解释-8" aria-hidden="true">#</a> 命令解释</h3>
          <h4 id="方块数据" tabindex="-1"><a class="header-anchor" href="#方块数据" aria-hidden="true">#</a> 方块数据</h4>
          <h3 id="语法-11" tabindex="-1"><a class="header-anchor" href="#语法-11" aria-hidden="true">#</a> 语法</h3>
          <p><code>/blockdata &lt;x y z&gt; &lt;方块NBT&gt;</code></p>
          <h3 id="名词解释-14" tabindex="-1"><a class="header-anchor" href="#名词解释-14" aria-hidden="true">#</a> 名词解释</h3>
          <p><a href="#%E6%96%B9%E5%9D%97nbt">方块NBT</a></p>
          <h3 id="命令举例-11" tabindex="-1"><a class="header-anchor" href="#命令举例-11" aria-hidden="true">#</a> 命令举例</h3>
          <p>在你面前放一个告示牌，在第一行打上<code>dada</code></p>
          <p>然后走过去，输入以下指令</p>
          <p>把自己脚下的告示牌，内容变成<code>1234</code></p>
          <p><code>/blockdata ~ ~ ~ {Text1:&quot;{\&quot;text\&quot;:\&quot;1234\&quot;}&quot;}</code></p>
          <h3 id="小知识-7" tabindex="-1"><a class="header-anchor" href="#小知识-7" aria-hidden="true">#</a> 小知识</h3>
          <p>只有含数据的，才能改数据，如：箱子类，告示牌，</p>
          <h2 id="entitydata" tabindex="-1"><a class="header-anchor" href="#entitydata" aria-hidden="true">#</a>
            <code>/entitydata</code>
          </h2>
          <h3 id="命令解释-9" tabindex="-1"><a class="header-anchor" href="#命令解释-9" aria-hidden="true">#</a> 命令解释</h3>
          <h4 id="实体数据" tabindex="-1"><a class="header-anchor" href="#实体数据" aria-hidden="true">#</a> 实体数据</h4>
          <h3 id="语法-12" tabindex="-1"><a class="header-anchor" href="#语法-12" aria-hidden="true">#</a> 语法</h3>
          <p><code>/entitydata &lt;实体&gt; &lt;实体NBT&gt;</code></p>
          <h3 id="名词解释-15" tabindex="-1"><a class="header-anchor" href="#名词解释-15" aria-hidden="true">#</a> 名词解释</h3>
          <p><a href="#%E5%AE%9E%E4%BD%93nbt">实体NBT</a></p>
          <h3 id="命令举例-12" tabindex="-1"><a class="header-anchor" href="#命令举例-12" aria-hidden="true">#</a> 命令举例</h3>
          <p>给附近半径2格内的猪，修改名字为<code>Y_Da</code></p>
          <p><code>/entitydata @e[type=minecraft:pig,r=2] {CustomName:&quot;Y_Da&quot;}</code></p>
          <h3 id="小知识-8" tabindex="-1"><a class="header-anchor" href="#小知识-8" aria-hidden="true">#</a> 小知识</h3>
          <p>直接输入名称如：<code>minecraft:pig</code> 是不可行的，需要配合目标选择器使用</p>
        </div><!---->
        <footer class="page-meta"><!---->
          <div class="meta-item git-info"><!----><!----></div>
        </footer><!----><!----><!----><!--]-->
      </main><!--]-->
      <footer class="footer-wrapper">
        <div class="footer">© <a href="https://dbhg.top" target="_blank">蛋白后宫制图团</a> | By <a href="https://alwolf.cn"
            target="_blank">一只屑阿狼</a></div>
        <div class="copyright">Apache 2.0 协议, 版权所有</div>
      </footer>
    </div><!--]--><!----><!--]-->
  </div>
  <script type="module" src="/assets/app-45d29361.js" defer></script>
</body>

</html>